Fred Damstra 9 жил өмнө
parent
commit
7fc672a72d
3 өөрчлөгдсөн 8 нэмэгдсэн , 1 устгасан
  1. 5 0
      .bash_aliases
  2. 2 0
      .bashrc
  3. 1 1
      CreateLinks.sh

+ 5 - 0
.bash_aliases

@@ -0,0 +1,5 @@
+alias afyon='ssh -l fred afyon.ec2.voltar.org'
+alias highstate="salt --force-color '*' state.highstate test=true | less -R; echo TEST ONLY. To run, type \'highstate.yes\'"
+alias highstate.yes="salt --force-color '*' state.highstate | less -R"
+alias salt="salt --force-color"
+

+ 2 - 0
.bashrc

@@ -136,5 +136,7 @@ source ~/.bash/git-completion.bash
 [ -d $GOPATH/bin ] && export PATH="$GOPATH/bin:$PATH"
 [ -d ~/terraform ] && export PATH="~/terraform:$PATH"
 
+# Make less allow colors
+export LESS="-R"
 
 

+ 1 - 1
CreateLinks.sh

@@ -2,7 +2,7 @@
 #
 # Creates links.
 PWD=`pwd`
-for file in .bashrc .vimrc .bash .profile .vim
+for file in .bashrc .vimrc .bash .profile .vim .bash_aliases
 do
   if [[ -e ~/$file ]]
   then