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.

69 lines
995 B

5 years ago
#!/bin/sh
# bash
alias ":wq"="exit"
alias ":q"="exit"
# cd
alias ".."="cd .."
alias "..1"="cd .."
alias "..2"="cd ../.."
alias "..3"="cd ../../.."
alias "..4"="cd ../../../.."
alias "..5"="cd ../../../../.."
5 years ago
# cp
alias cp="cp -i"
5 years ago
# clear
alias clear="clear && neofetch"
# config
alias config="/usr/bin/git --git-dir=$HOME/dotfiles --work-tree=$HOME"
# grep
alias grep="grep --color=auto"
# lastpass
alias lastpass="lpass"
5 years ago
# latex
5 years ago
alias TexHandout="cp ~/github/Tools/LaTeX\ Templates/LaTeX\ Handout/Handout.tex"
5 years ago
5 years ago
# ls(d)
alias l="lsd"
alias la="lsd -la"
alias ll="lsd -l"
alias tree="lsd --tree"
5 years ago
# mkdir
alias mkdir="mkdir -p"
5 years ago
# mount
alias mount="mount |column -t"
5 years ago
# mv
alias mv="mv -i"
5 years ago
# pacman
alias pac="sudo pacman"
alias pacclean="sudo pacman -Rs $(pacman -Qtdq)"
# ping
alias ping="ping -c 5"
5 years ago
# rm
alias rm="rm -i"
5 years ago
# root/sudo
alias root="sudo -i"
alias su="sudo -i"
# vim
alias svim="sudo vim"
alias image="sxiv"
alias mail="neomutt"
alias reddit="rtv"
alias video="mpv"