1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | $ cat .bash_profile ##### modify standard command prompt # \n = new line; \u = current username; \w = current working dir (home = ~) ##### Colors # Black 0;30 Dark Gray 1;30 # Blue 0;34 Light Blue 1;34 # Green 0;32 Light Green 1;32 # Cyan 0;36 Light Cyan 1;36 # Red 0;31 Light Red 1;31 # Purple 0;35 Light Purple 1;35 # Brown 0;33 Yellow 1;33 # Light Gray 0;37 White 1;37 export PS1="\[\033[0;35m\][$(date +%H:%M)]\[\033[0;36m\] [\u\[\033[0;37m\]@\[\033[0;36m\]\h:\[\033[0;32m\]\w]\[\033[0m\] \n$ " ##### Modify default ls command # -G colorizes output # -h makes sizes human readable # -F throws a / after a directory, * after an executable, and a @ after a symlink # -l listing format (as opposed to default wide) # -a shows all files (even hidden) alias ls='ls -laGFh' ##### add ~/scripts/wicked to the path export PATH="$PATH:$HOME/scripts/wicked" |
2017-04-14
Bash Profile Settings 01
Subscribe to:
Post Comments (Atom)
-
Word for Windows with Merge Fields and problem during Print Preview ISSUE: Document merges normally and shows all the fields. When CTRL-P is...
-
Stop MS Edge from running in background when Edge is closed In MS Edge Navigate to: edge://settings/?search=startup Uncheck " Startup b...
-
Start|cmd|Right-Click|Run as administrator C:\Windows\system32 > powershell Windows PowerShell Copyright (C) 2009 Microsoft Corpor...
No comments:
Post a Comment