Skip to content

Instantly share code, notes, and snippets.

@ccopsey
Created March 28, 2011 16:16
Show Gist options
  • Select an option

  • Save ccopsey/890744 to your computer and use it in GitHub Desktop.

Select an option

Save ccopsey/890744 to your computer and use it in GitHub Desktop.

Revisions

  1. ccopsey revised this gist Dec 5, 2012. 1 changed file with 12 additions and 0 deletions.
    12 changes: 12 additions & 0 deletions linux.bash_profile
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,12 @@
    export PS1="\[\e[0;35m\]\!\[\e[m\]:\[\e[0;36m\]\u\[\e[m\]@\[\e[0;31m\]\h\[\e[m\]:\[\e[0;32m\]\w\[\e[m\]> "

    alias cp="cp -i"
    alias mv="mv -i"
    alias rm="rm -i"

    alias g="grep"
    alias h="history"

    alias l="ls -hltrp --color"
    alias la="ls -halp --color"
    alias ls="ls --color"
  2. ccopsey revised this gist Apr 25, 2011. 1 changed file with 9 additions and 4 deletions.
    13 changes: 9 additions & 4 deletions linux.tcshrc
    Original file line number Diff line number Diff line change
    @@ -2,10 +2,15 @@ if ( $?prompt ) then
    set prompt = "%{\033[0;35m%}%h%{\033[0m%}:%{\033[0;34m%}%n%{\033[0m%}@%{\033[0;31m%}%m%{\033[0m%}:%{\033[0;32m%}%~%{\033[0m%}>
    endif

    alias g grep
    alias l ls -hltrp --color
    alias la ls -halp --color
    alias ls ls --color
    alias cp 'cp -i'
    alias mv 'mv -i'
    alias rm 'rm -i'

    alias g 'grep'
    alias h 'history'
    alias l 'ls -hltrp --color'
    alias la 'ls -halp --color'
    alias ls 'ls --color'

    alias auth sudo tail -f /var/log/auth.log
    alias deny sudo cat /var/log/denyhosts
  3. ccopsey renamed this gist Apr 24, 2011. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  4. ccopsey revised this gist Apr 24, 2011. 1 changed file with 3 additions and 0 deletions.
    3 changes: 3 additions & 0 deletions mac.bashrc
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    alias g="grep"
    alias l="ls -Glp"
    alias la="l -atr"
  5. ccopsey revised this gist Apr 24, 2011. 1 changed file with 9 additions and 1 deletion.
    10 changes: 9 additions & 1 deletion tcshrc.tcsh
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,11 @@
    if ( $?prompt ) then
    set prompt = "%{\033[0;35m%}%h%{\033[0m%}:%{\033[0;34m%}%n%{\033[0m%}@%{\033[0;31m%}%m%{\033[0m%}:%{\033[0;32m%}%~%{\033[0m%}>
    endif
    endif
    alias g grep
    alias l ls -hltrp --color
    alias la ls -halp --color
    alias ls ls --color
    alias auth sudo tail -f /var/log/auth.log
    alias deny sudo cat /var/log/denyhosts
  6. ccopsey renamed this gist Mar 28, 2011. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  7. ccopsey renamed this gist Mar 28, 2011. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  8. ccopsey created this gist Mar 28, 2011.
    3 changes: 3 additions & 0 deletions gistfile1.tcsh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    if ( $?prompt ) then
    set prompt = "%{\033[0;35m%}%h%{\033[0m%}:%{\033[0;34m%}%n%{\033[0m%}@%{\033[0;31m%}%m%{\033[0m%}:%{\033[0;32m%}%~%{\033[0m%}>
    endif