.bashrc (409B)
1 #!/usr/bin/env bash
2
3 # If not running interactively, don't do anything
4 [[ $- != *i* ]] && return
5
6 # Alias
7 alias ls='ls --color=auto'
8 alias ll='ls -l'
9 alias la='ll -a'
10
11 # Prompt
12 export PS1='\[$(tput sgr0)\]\n\[$(tput setaf 6)\][\t] \[$(tput setaf 7)\]\u@\h: \[$(tput setaf 4)\]\w\n\[$(tput setaf 4)$(tput bold)\]\$\[$(tput sgr0)\] '
13
14 # Use keychain to manage ssh keys.
15 eval "$(keychain --eval --quiet id_rsa)"