Browse Source

Minor.

red-hat-laptop
Kevin Mok 7 years ago
parent
commit
07df52de9a
  1. 3
      dotfiles/.bash_aliases
  2. 2
      set-from-git.sh

3
dotfiles/.bash_aliases

@ -4,12 +4,13 @@ alias c="clear"
shopt -s dotglob shopt -s dotglob
alias reb="sudo shutdown -r 0" alias reb="sudo shutdown -r 0"
alias sd="sudo shutdown 0" alias sd="sudo shutdown 0"
alias slp="systemctl suspend"
alias s="systemctl suspend"
# directories # directories
alias cdr="cd ~/../../" alias cdr="cd ~/../../"
alias cdd="cd ~/Downloads" alias cdd="cd ~/Downloads"
alias 221="cd ~/Documents/School/221" alias 221="cd ~/Documents/School/221"
alias 221t="okular ~/Documents/School/221/Textbook.pdf"
alias 221lt="okular ~/Downloads/Textbook.pdf" alias 221lt="okular ~/Downloads/Textbook.pdf"
alias p1="cd ~/258/258-labs-self/l5/p1" alias p1="cd ~/258/258-labs-self/l5/p1"

2
set-from-git.sh

@ -1,8 +1,6 @@
files=".bash_aliases .bashrc .inputrc .vimrc" files=".bash_aliases .bashrc .inputrc .vimrc"
dir=~/linux-config/dotfiles dir=~/linux-config/dotfiles
# mkdir $dir
for file in $files; do for file in $files; do
rm ~/$file rm ~/$file
ln -s $dir/$file ~/$file ln -s $dir/$file ~/$file

Loading…
Cancel
Save