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.
dotfiles/.bash_aliases

38 lines
935 B

3 years ago
# improve commands
3 years ago
alias cp="cp -iv" # confirm before overwriting something
alias df='df -h' # human-readable sizes
alias free='free -m' # show sizes in mb
alias np='nano -w pkgbuild'
alias more=less
3 years ago
alias rm='rm -i'
alias cp='cp -i'
alias mv='mv -i'
3 years ago
3 years ago
# useful commands
3 years ago
alias p="sudo pacman"
alias y="yay"
alias upgrade="sudo pacman -Syyu && yay -Syyu"
alias ls="exa --group-directories-first -lh"
alias l="exa --group-directories-first -lh"
alias la="exa --group-directories-first -alh"
alias print="printf"
3 years ago
# nvim edits
3 years ago
alias cfi3="nvim ~/.config/i3/config"
alias cfi3s="nvim ~/.config/i3status/config"
alias cfn="nvim ~/.config/nvim/init.vim"
3 years ago
alias e="nvim ."
3 years ago
# cd commands
3 years ago
alias c="cd ~/.config"
3 years ago
alias cuni="cd ~/Documents/Uni/CS && l"
# cli applications
3 years ago
alias yt="youtube-viewer"
3 years ago
# git stuff!
alias gs="git status"
alias gp="git push"
alias ga="git add"
3 years ago