Added bash folder

This commit is contained in:
2025-03-10 17:34:35 +10:30
parent bfa6104958
commit 06782ca17b
2 changed files with 42 additions and 0 deletions

29
bash/.bash_profile Normal file
View File

@@ -0,0 +1,29 @@
# console coloring for kool kids
# thehermit is bold green 01;32m
# coriakian is bold red 01;31m
# farsight is bold cyan 01;36m
# caspian is bold yellow 01;33m
PS1='\[\033[01;36m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
# if this is an xterm set the title to user@host:dir
case "$TERM" in
xterm*|rxvt*)
PS1="\[\e]0;\u@\h: \w\a\]$PS1"
;;
*)
;;
esac
# impersonate a user
alias user="su -ls /bin/bash"
alias v="ls -lA"
# Alias definitions.
# You may want to put all your additions into a separate file like
# ~/.bash_aliases, instead of adding them here directly.
# See /usr/share/doc/bash-doc/examples in the bash-doc package.
if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
fi