Added vim quickscope and fixed lg alias to work w/o tmux

This commit is contained in:
jon
2022-11-19 21:01:41 -06:00
parent 1841878b94
commit eae719cfb6
2 changed files with 10 additions and 1 deletions

View File

@@ -32,7 +32,6 @@ alias ip='ip -br a'
alias s='sudo'
alias df='sudo df -hT -x tmpfs -x devtmpfs'
alias rsync='rsync --progress'
alias lg='ll | grep -i $0'
# allows alias expansion after sudo, eg: sudo l
# bash man page, "last char of alias value is space or tab..."
alias sudo='sudo '
@@ -40,6 +39,12 @@ alias sudo='sudo '
#bind 'set completion-ignore-case on'
set bell-style none
#ls and grep function
lg_grep() {
ls -alh | grep -i $1
}
alias lg=lg_grep
## function and alias for short find
short_find() {
find ./ -iname "*${1}*"