Organized dotfiles/configs into folders

Split set-from-git into 3 different files for each section and created a
script for common directory variables. Created separate folders for
PC/laptop configs.
This commit is contained in:
2018-02-15 23:21:41 -05:00
parent 933e2709ef
commit 5c5e010c53
19 changed files with 56 additions and 41 deletions

View File

@@ -19,6 +19,7 @@ alias hst="history"
alias topo="top -o %MEM"
alias rmsw="rm .sw*"
alias nf="neofetch"
alias vlm="alsamixer -c 1"
# }}} System #
# Directories {{{ #
@@ -27,6 +28,7 @@ d() { cd "$@" && ls -a ; }
cd_up() { d $(printf "%0.s../" $(seq 1 $1 )) ; }
alias "d."="cd_up"
alias dd="d ~/Downloads"
alias cfg="d ~/.config"
# }}} #
ok() { okular $1 ; }

View File

@@ -5,6 +5,8 @@ if [ "$(whoami)" == "kevin" ]; then
alias mt="ok ~/Documents/School/calc-textbook.pdf"
alias clc="gcalccmd"
alias 6t="ok ~/Documents/School/236-textbook.pdf"
cld() { colordiff -y --suppress-common-lines $1 $2 ; }
fi
# Both PC/Laptop }}}

View File

@@ -45,7 +45,7 @@ alias l5="$cd_209/mokkar/lab5"
alias 9a="$cd_209/mokkar/a2"
# alias cdf="ssh -t mokkar@cdf.utoronto.ca '. ./.bashrc; bash -l'"
alias cdf="echo \". ./.bashrc\"&& ssh mokkar@cdf.utoronto.ca"
mkex() { chmod 700 $1 ; }
mkex() { chmod 777 $1 ; }
# }}}
# {{{ Compilation Functions