parent
2bc158c35e
commit
1ca050d4b2
@ -1,29 +1,37 @@ |
|||||||
|
# improve commands |
||||||
alias cp="cp -iv" # confirm before overwriting something |
alias cp="cp -iv" # confirm before overwriting something |
||||||
alias df='df -h' # human-readable sizes |
alias df='df -h' # human-readable sizes |
||||||
alias free='free -m' # show sizes in mb |
alias free='free -m' # show sizes in mb |
||||||
alias np='nano -w pkgbuild' |
alias np='nano -w pkgbuild' |
||||||
alias more=less |
alias more=less |
||||||
|
alias rm='rm -i' |
||||||
|
alias cp='cp -i' |
||||||
|
alias mv='mv -i' |
||||||
|
|
||||||
|
# useful commands |
||||||
alias p="sudo pacman" |
alias p="sudo pacman" |
||||||
alias y="yay" |
alias y="yay" |
||||||
alias upgrade="sudo pacman -Syyu && yay -Syyu" |
alias upgrade="sudo pacman -Syyu && yay -Syyu" |
||||||
alias ls="exa --group-directories-first -lh" |
alias ls="exa --group-directories-first -lh" |
||||||
alias l="exa --group-directories-first -lh" |
alias l="exa --group-directories-first -lh" |
||||||
alias la="exa --group-directories-first -alh" |
alias la="exa --group-directories-first -alh" |
||||||
alias e="nvim" |
|
||||||
alias print="printf" |
alias print="printf" |
||||||
|
|
||||||
|
# nvim edits |
||||||
alias cfi3="nvim ~/.config/i3/config" |
alias cfi3="nvim ~/.config/i3/config" |
||||||
alias cfi3s="nvim ~/.config/i3status/config" |
alias cfi3s="nvim ~/.config/i3status/config" |
||||||
alias cfn="nvim ~/.config/nvim/init.vim" |
alias cfn="nvim ~/.config/nvim/init.vim" |
||||||
|
alias e="nvim ." |
||||||
|
|
||||||
|
# cd commands |
||||||
alias c="cd ~/.config" |
alias c="cd ~/.config" |
||||||
|
alias cuni="cd ~/Documents/Uni/CS && l" |
||||||
|
# cli applications |
||||||
alias yt="youtube-viewer" |
alias yt="youtube-viewer" |
||||||
|
|
||||||
# Git Stuff! |
# git stuff! |
||||||
alias gs="git status" |
alias gs="git status" |
||||||
alias gp="git push" |
alias gp="git push" |
||||||
alias ga="git add" |
alias ga="git add" |
||||||
|
|
||||||
alias e="nvim ." |
|
||||||
|
Binary file not shown.
Loading…
Reference in new issue