Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ export PROMPT_COMMAND='if [ "$(id -u)" -ne 0 ]; then echo "$(date "+%Y-%m-%d.%H:

eval "$(hub alias -s)"

alias ls="ls -G"
# Have LS always display colors
if ls --color -d ~ >/dev/null 2>&1; then
alias ls="ls --color=auto" # GNU ls
elif ls -G -d ~ >/dev/null 2>&1; then
alias ls="ls -G" # BSD ls
fi
alias tm="tmux at || command tmux"
alias cdgit='cd $(git rev-parse --show-toplevel)'