Restructure functions

This commit is contained in:
2022-08-12 00:39:41 +08:00
parent 5fe9b2ef34
commit 123b2942e9
4 changed files with 21 additions and 29 deletions

View File

@@ -25,17 +25,12 @@ alias p4='pushd +4'
alias o=popd
alias d='dirs -v'
# fast greps
alias grep='grep --color=auto --exclude=\.svn'
alias grepphp='grep -n --include=*.php'
alias grepjs='grep -n --include=*.js'
# default grep opts
alias grep='grep --color=auto --exclude-dir .git'
# Wget prefix
alias wget='wget --directory-prefix="$HOME/Downloads"'
# ssh-agent key lifetime
alias ssh-add="ssh-add -t 43200"
# Pretty print sqlite3
alias sqlite3="sqlite3 -header -column"