Created
February 14, 2014 23:40
-
-
Save pasamio/9011881 to your computer and use it in GitHub Desktop.
Copy of my .profile for environments with shared NFS home directories (per server history file)
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
export PS1='\h:\W \u\$ ' | |
alias v='ls -lh' | |
alias vv="du --max-depth=1 -k | sort -n | cut -f2 | xargs -d '\n' du -sh" | |
# Let the computer remember that which would otherwise be forgotten. | |
# Append to the history otherwise multiple tabs clobber each other. | |
shopt -s histappend | |
# Set the number of entries in the history file to be sufficiently large. | |
HISTFILESIZE=10000 | |
# Set a per server history file | |
HISTFILE=~/.history/`hostname -s` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment