Updates to bash scripts

This commit is contained in:
Russell Riker 2023-05-29 09:09:39 -04:00
parent 8c7acd8f9d
commit ada4459e64
3 changed files with 15 additions and 4 deletions

View File

@ -17,6 +17,7 @@ fi
# Ben installed batcat on tilde.team, so moving this down here
# bat, cat with wings
alias cat='batcat'
alias man='batman'
alias ll='ls -alF'
alias la='ls -a'
@ -44,8 +45,8 @@ alias gb='git branch'
# vi and nvim aliases
#alias vim='nvim'
#alias vi='nvim'
alias vim='nvim'
alias vi='nvim'
alias ni='nvim'
# bat, cat with wings

12
.bashrc
View File

@ -142,6 +142,10 @@ export XDG_DATA_HOME="$HOME/.local/share"
# Trying to get fzf to not look into .git folders
export FZF_DEFAULT_COMMAND='rg --files --hidden'
# if there is a FZFKey-Bindings.bash load that puppy up
if [ -f ~/mydev/my-dotfiles/FZFkey-bindingsbash.bash]; then
. ~/mydev/my-dotfiles/FZFkey-bindings.bash
fi
export PATH=$PATH:/usr/local/go/bin
@ -170,8 +174,12 @@ fi
# Not working correctly. removed 11/3/22
# eval"$(oh-my-posh init bash)"
eval "$(oh-my-posh init bash --config ~/.poshthemes/night-owl.omp.json)"
# test if we are on tilde, OMP not installed there
if [ $HOSTNAME != 'tilde' ]
then
eval "$(oh-my-posh init bash --config ~/.poshthemes/night-owl.omp.json)"
fi
# cd to my wsl2 home folder
cd ~

View File

@ -35,3 +35,5 @@ if [ -d "$HOME/.local/bin" ] ; then
fi
export PATH="$HOME/.cargo/bin:$PATH"
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"