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.
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
# bash
|
|
|
|
alias ":wq"="exit"
|
|
|
|
alias ":q"="exit"
|
|
|
|
|
|
|
|
# battery
|
|
|
|
alias "battery"="acpi"
|
|
|
|
|
|
|
|
# cd
|
|
|
|
alias ".."="cd .."
|
|
|
|
alias "..1"="cd .."
|
|
|
|
alias "..2"="cd ../.."
|
|
|
|
alias "..3"="cd ../../.."
|
|
|
|
alias "..4"="cd ../../../.."
|
|
|
|
alias "..5"="cd ../../../../.."
|
|
|
|
|
|
|
|
# cp
|
|
|
|
alias cp="cp -i"
|
|
|
|
|
|
|
|
# clear
|
|
|
|
alias c="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"
|
|
|
|
|
|
|
|
# latex
|
|
|
|
alias TexHandout="cp ~/github/Tools/LaTeX\ Templates/LaTeX\ Handout/Handout.tex"
|
|
|
|
|
|
|
|
# ls(d)
|
|
|
|
alias l="lsd"
|
|
|
|
alias la="lsd -la"
|
|
|
|
alias ll="lsd -l"
|
|
|
|
alias tree="lsd --tree"
|
|
|
|
|
|
|
|
# mkdir
|
|
|
|
alias mkdir="mkdir -p"
|
|
|
|
|
|
|
|
# mount
|
|
|
|
alias mount="mount |column -t"
|
|
|
|
|
|
|
|
# mv
|
|
|
|
alias mv="mv -i"
|
|
|
|
|
|
|
|
# pacman
|
|
|
|
alias pac="sudo pacman"
|
|
|
|
alias pacclean="sudo pacman -Rs $(pacman -Qtdq)"
|
|
|
|
|
|
|
|
# ping
|
|
|
|
alias ping="ping -c 5"
|
|
|
|
|
|
|
|
# rm
|
|
|
|
alias rm="rm -i"
|
|
|
|
|
|
|
|
# root/sudo
|
|
|
|
alias root="sudo -i"
|
|
|
|
alias su="sudo -i"
|
|
|
|
|
|
|
|
# vim
|
|
|
|
alias svim="sudo vim"
|
|
|
|
|
|
|
|
# random
|
|
|
|
alias apt-get='echo "no"'
|
|
|
|
alias image="sxiv"
|
|
|
|
alias mail="mailsync -a && neomutt"
|
|
|
|
alias reddit="rtv"
|
|
|
|
alias table="sc-im"
|
|
|
|
alias table="sc-im"
|
|
|
|
alias video="mpv"
|
|
|
|
|
|
|
|
|