Add profile
This commit is contained in:
parent
cccfa5f975
commit
248c89fbe3
17
profile
Normal file
17
profile
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
clrreset='\e[0m'
|
||||||
|
clrwhite='\e[1;37m'
|
||||||
|
clrgreen='\e[1;32m'
|
||||||
|
clrred='\e[1;31m'
|
||||||
|
export PS1="\[$clrwhite\]\w \`if [ \$? = 0 ]; then echo -e '\[$clrgreen\]'; else echo -e '\[$clrred\]'; fi\`\\$ \[$clrreset\]"
|
||||||
|
|
||||||
|
alias l='ls --color=auto -lAh --time-style long-iso'
|
||||||
|
alias ls='ls --color=auto -lh --time-style long-iso'
|
||||||
|
alias ll='ls --color=auto -lah --time-style long-iso'
|
||||||
|
alias cd..='cd ..'
|
||||||
|
alias f='find . -name'
|
||||||
|
alias ff='find / -name'
|
||||||
|
alias fif='grep -rnw . -e'
|
||||||
|
alias grep='grep --color=auto'
|
||||||
|
alias ip='ip -c'
|
Loading…
x
Reference in New Issue
Block a user