Created
January 9, 2010 15:17
-
-
Save fxn/272941 to your computer and use it in GitHub Desktop.
bash stuff common to different computers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ls(1) | |
alias ls='ls -F' | |
alias ll='ls -lh' | |
alias la='ls -lhA' | |
# Rails commands | |
alias ss='script/server' | |
alias sc='script/console' | |
alias sr='script/runner' | |
alias sa='script/about' | |
alias sg='script/generate' | |
# prompt, see http://tldp.org/HOWTO/Bash-Prompt-HOWTO/bash-prompt-escape-sequences.html | |
PS1='\u@\H:\W ➔ ' | |
# ack(1) options thought for the kind of searches I normally do in a Rails project | |
# to include say public use --noignore-dir=public, to ignore these settings altogether use --noenv | |
export ACK_OPTIONS='-a --follow --ignore-dir=log --ignore-dir=vendor --ignore-dir=public --ignore-dir=script --ignore-dir=db' | |
# less(1) | |
export LESS='-R -g -i' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment