whatports
This commit is contained in:
parent
8093c6ac9f
commit
7179ca34b5
3
home/bin/what_ports
Executable file
3
home/bin/what_ports
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
sudo lsof -iTCP -sTCP:LISTEN -n -P | awk 'NR>1 {print $9, $1, $2}' | sed 's/.*://' | while read port process pid; do echo "Port $port: $(ps -p $pid -o command= | sed 's/^-//') (PID: $pid)"; done | sort -n
|
@ -1,3 +1,5 @@
|
||||
vim.env.PATH = vim.env.HOME .. "/.local/share/mise/shims:" .. vim.env.PATH
|
||||
|
||||
require("settings_before")
|
||||
vim.g.python3_host_prog = '/opt/nvimpython/.nvim.pythonenv/bin/python3'
|
||||
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
||||
|
@ -41,6 +41,7 @@ config.set_environment_variables = {
|
||||
config.harfbuzz_features = { 'calt=0', 'clig=0', 'liga=0' }
|
||||
config.color_scheme = 'Jellybeans (Gogh)'
|
||||
config.font = wezterm.font_with_fallback { 'IosevkaTerm Nerd Font' }
|
||||
-- config.font = wezterm.font_with_fallback { 'DepartureMono' }
|
||||
config.font_size = 15
|
||||
config.hide_tab_bar_if_only_one_tab = true
|
||||
config.window_decorations = 'RESIZE'
|
||||
|
500
home/p10k.zsh
500
home/p10k.zsh
File diff suppressed because it is too large
Load Diff
@ -14,3 +14,4 @@ alias vim=nvim
|
||||
alias vimini="vim ~/.config/nvim/init.vim"
|
||||
alias wx="curl https://wttr.in/Raleigh"
|
||||
alias tf0="tail -n0 -f"
|
||||
alias listports=sudo lsof -iTCP -sTCP:LISTEN -n -P | awk 'NR>1 {print $9, $1, $2}' | sed 's/.*://' | while read port process pid; do echo "Port $port: $(ps -p $pid -o command= | sed 's/^-//') (PID: $pid)"; done | sort -n
|
||||
|
@ -2,7 +2,4 @@ source ~/.shell_funcs
|
||||
source ~/.shell_aliases
|
||||
source ~/.shell_exports
|
||||
|
||||
command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"
|
||||
|
||||
eval "$(pyenv init -)"
|
||||
eval "$(direnv hook zsh)"
|
||||
|
Loading…
Reference in New Issue
Block a user