Add .bashrc

This commit is contained in:
Tyler Perkins 2023-12-04 09:28:13 -05:00
parent cdba695815
commit 36e2edd357
Signed by: tyler
GPG Key ID: FB77409925BD2C84

19
.bashrc
View File

@ -83,7 +83,6 @@ alias ":q!"="exit"
alias diff="diff --color=auto"
alias grep="grep -i --color=auto"
alias mv="mv -v"
alias sudo="doas"
alias arduino=" arduino"
alias logisim-evolution="_JAVA_AWT_WM_NONREPARENTING=1 logisim-evolution"
alias vifm="vifmrun"
@ -92,15 +91,15 @@ alias new-motd="vim /home/tyler/.desktop/alarm/motd.txt"
alias disable-alarm=". /home/tyler/.desktop/alarm/disable-alarm.sh"
#vim opens vim wiki by default, else the file
#function vimw(){
# if [ $# -eq 0 ]; then
# vim ~/vimwiki/splash.wiki
# else
# vim $@
# fi
#}
#alias vim="vimw"
if [ -f $HOME/.sdkman/bin/sdkman-init.sh ]; then
source $HOME/.sdkman/bin/sdkman-init.sh
fi
which doas > /dev/null 2>&1
if [ $? -eq 0 ]; then
alias sudo="doas"
fi
export PS1="\033[1m\e[0;97m[\e[0;32m\u\e[0;97m@\e[0;31m\h \e[0;97m(\D{}) \w]\n$ \033[0m"
export KUBECONFIG=~/.kube/config