From f3353519042a8c576cf041d11b0af2b14e7f2227 Mon Sep 17 00:00:00 2001 From: Stefan Friese Date: Wed, 26 Jul 2023 16:53:18 +0200 Subject: [PATCH] added new files --- bash/.bash_aliases | 4 ++++ bash/.bash_functions | 9 +++++++++ vim/.vimrc | 1 + 3 files changed, 14 insertions(+) create mode 100644 bash/.bash_aliases create mode 100644 bash/.bash_functions diff --git a/bash/.bash_aliases b/bash/.bash_aliases new file mode 100644 index 0000000..b635fb2 --- /dev/null +++ b/bash/.bash_aliases @@ -0,0 +1,4 @@ +# ls aliases +alias ll='ls -alF' +alias la='ls -A' +alias l='ls -CF' diff --git a/bash/.bash_functions b/bash/.bash_functions new file mode 100644 index 0000000..61f3463 --- /dev/null +++ b/bash/.bash_functions @@ -0,0 +1,9 @@ +# Kill process by port +killport () { lsof -ti ":$1" | xargs kill -9; } + +# Rename tmux window after ssh session +ssh() { + tmux rename-window "$*" + command ssh "$@" + exit +} diff --git a/vim/.vimrc b/vim/.vimrc index 7f64d61..18368d2 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -65,6 +65,7 @@ nmap l """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" set path+=** set wildmenu +set wildmode=longest:full,full """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" "