2020-09-08 21:03:57 -04:00
|
|
|
export PATH="$HOME/.local/bin:$PATH"
|
2021-08-22 15:23:16 -04:00
|
|
|
export EDITOR="/usr/bin/nvim"
|
|
|
|
|
2021-11-27 08:28:43 -05:00
|
|
|
# vim
|
2021-08-22 15:23:16 -04:00
|
|
|
alias vim="nvim"
|
2020-09-08 21:03:57 -04:00
|
|
|
|
2021-11-27 08:28:43 -05:00
|
|
|
# ls
|
2020-09-08 15:25:32 -04:00
|
|
|
alias ls="ls --color=auto"
|
|
|
|
|
|
|
|
alias ..="cd .."
|
|
|
|
alias ...="cd ../.."
|
|
|
|
alias ....="cd ../../.."
|
|
|
|
alias .....="cd ../../../.."
|
2021-11-27 08:28:43 -05:00
|
|
|
alias ......="cd ../../../../.."
|
|
|
|
alias .......="cd ../../../../../.."
|
2020-09-08 15:25:32 -04:00
|
|
|
|
|
|
|
# improved reset and clear
|
|
|
|
alias reset="tput reset"
|
|
|
|
alias clear="tput reset"
|
|
|
|
|
|
|
|
# better du
|
2021-11-27 08:28:43 -05:00
|
|
|
alias du="du -hd 1"
|
2021-08-05 16:37:38 -04:00
|
|
|
|
2021-11-27 08:28:43 -05:00
|
|
|
# better feh
|
2021-01-08 12:34:14 -05:00
|
|
|
alias feh="feh -."
|
2021-08-20 13:41:01 -04:00
|
|
|
|
2021-11-27 08:28:43 -05:00
|
|
|
# vi keybindings
|
2021-08-20 13:41:01 -04:00
|
|
|
alias info="info --vi-keys"
|
2021-11-27 08:28:43 -05:00
|
|
|
|
|
|
|
# grepa
|
|
|
|
alias grepa="grep -n --color=always -r --exclude-dir=venv"
|
|
|
|
|
|
|
|
# less
|
|
|
|
alias less="less -R"
|
|
|
|
|
|
|
|
# find
|
|
|
|
alias find="find -name"
|
|
|
|
|
|
|
|
# sl
|
|
|
|
alias sl="ls"
|
|
|
|
|
|
|
|
finder() {
|
|
|
|
grepa "$1" | less
|
|
|
|
}
|