minor adjustments to initial clear history and created alias mouse

This commit is contained in:
tomit4 2022-04-23 15:56:59 -07:00
parent 3d63e6c15b
commit 2d683c7856

View file

@ -1,4 +1,4 @@
#
# ~/.bashrc
#
history -c && history -w && hash -r
@ -20,7 +20,7 @@ set -o vi
bind -m vi-insert 'Control-l: clear-screen'
# clears the history completely upon loading bash
cat /dev/null > ~/.bash_history && history -c
cat /dev/null > ~/.bash_history && history -c && hash -r
[[ $- != *i* ]] && return
colors() {
@ -277,6 +277,7 @@ alias hd="ncdu"
alias xsel="xclip -sel clip"
alias catx="cat | xclip -sel clip"
alias kitx="cat | kitty +kitten clipboard" # not as good as catx
alias mouse="mousepad"
alias xclear="echo '' | xclip && xclip -selection clipboard /dev/null"
alias diff="diff -wy"
alias exifread="exiftool"
@ -372,7 +373,7 @@ alias regen_initramfs="doas mkinitcpio -P"
# Configure thefuck
eval "$(thefuck --alias)"
export PATH="$PATH:$GOPATH/bin:/home/brian/scripts:/home/brian/.local/bin"
export PATH="$PATH:$GOPATH/bin:/home/brian/scripts:/home/brian/.local/bin:/home/brian/.local/share/nvim/lsp_servers"
export GREP_COLORS='ms=01;36'
[ -f ~/.fzf.bash ] && source ~/.fzf.bash