You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
57 lines
1.2 KiB
57 lines
1.2 KiB
# in case its not already thera
|
|
alias la='ls -la'
|
|
alias sagu='sudo apt update && sudo apt dist-upgrade'
|
|
alias sagi='sudo apt install '
|
|
alias notes='vim "+:NV"'
|
|
alias slog='sudo less /var/log/syslog'
|
|
|
|
alias v='f -e vim' # quick opening files with vim
|
|
alias o='a -e xdg-open' # quick opening files with xdg-open
|
|
alias j='zz '
|
|
|
|
# {{{ GIT related
|
|
alias gs='git status'
|
|
alias gfr='git fetch && git rebase'
|
|
alias gl='git log'
|
|
alias gc='git commit '
|
|
alias ga='git add '
|
|
alias gc1='git clone --depth 1 '
|
|
alias gco='git checkout '
|
|
#}}}
|
|
|
|
alias mem='cd /dev/shm'
|
|
alias svim='sudoedit '
|
|
alias down='http --download '
|
|
|
|
alias p3='python3 '
|
|
|
|
alias -g L='| less'
|
|
alias -g G='| grep'
|
|
|
|
# {{{ Golang
|
|
alias gos='cd $GOPTAH/src'
|
|
# }}}
|
|
|
|
# {{{ exa
|
|
if hash exa 2&>/dev/null ; then
|
|
alias ls='exa '
|
|
alias lg='l --git '
|
|
alias lt='l --tree '
|
|
fi
|
|
#}}}
|
|
|
|
alias dcu='docker-compose up'
|
|
alias dcs='docker-compose start'
|
|
alias dce='docker-compose stop'
|
|
|
|
alias rs='rsync -aAxv --progress '
|
|
alias gcc='gcc -Wall -Wextra '
|
|
alias mail='neomutt'
|
|
|
|
alias sys='sudo systemctl '
|
|
alias jour='sudo journalctl '
|
|
alias usys='systemctl --user '
|
|
alias ujour='journalctl --user '
|
|
|
|
alias killbg='kill ${${(v)jobstates##*:*:}%=*}'
|
|
alias dns='dig +noall +answer any '
|