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.
56 lines
1.2 KiB
56 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 open='xdg-open '
|
|
|
|
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='sudo docker-compose up'
|
|
alias dcs='sudo docker-compose start'
|
|
alias dce='sudo 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 '
|