Add .bashrc
This commit is contained in:
parent
cdba695815
commit
36e2edd357
19
.bashrc
19
.bashrc
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user