mp(){ nohup mousepad $1 /dev/null 2>&1 & disown } cs(){ # cp -l fullpath fullpath/Documents/cheatsheet # path=~/Documents/cheatsheet path=/solid/dir/reference/cheatsheet/ if [[ -z "$1" ]]; then ls $path else if [[ $2 = "-e" ]]; then vim $path/$1 else bat -pp $path/$1 fi fi } timer(){ while true; do printf '%s\r' "$(date)"; done }