1
0

Add profile

This commit is contained in:
MatMoul 2025-06-01 04:23:22 +02:00
parent cccfa5f975
commit 248c89fbe3
2 changed files with 20 additions and 0 deletions

View File

@ -1,2 +1,5 @@
# linux-profile
''' bash
source profile
'''

17
profile Normal file
View 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'