Browse Source

Added reset file and more aliases.

red-hat-laptop
Kevin Mok 7 years ago
parent
commit
f805eb8f24
  1. 5
      .bash_aliases
  2. 1
      .gitignore
  3. 9
      set-from-git.sh

5
.bash_aliases

@ -10,6 +10,7 @@ alias slp="systemctl suspend"
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 221lt="okular ~/Downloads/Textbook.pdf"
alias p1="cd ~/258/258-labs-self/l5/p1" alias p1="cd ~/258/258-labs-self/l5/p1"
alias l5="cd ~/258/258-labs-self/l5" alias l5="cd ~/258/258-labs-self/l5"
@ -27,6 +28,10 @@ alias gps="git push"
alias vig="vi .gitignore" alias vig="vi .gitignore"
alias ga="git add *" alias ga="git add *"
alias gai="git add .gitignore" alias gai="git add .gitignore"
alias gd="git diff --cached"
gc(){
git commit -m "$1"
}
# redshift # redshift
rs(){ rs(){

1
.gitignore

@ -1 +0,0 @@
rm-symlink.sh

9
set-from-git.sh

@ -0,0 +1,9 @@
files=".bash_aliases .bashrc .inputrc .vimrc"
dir=~/my-dotfiles
# mkdir $dir
for file in $files; do
rm ~/$file
ln -s $dir/$file ~/$file
done
Loading…
Cancel
Save