commit 016a1917e99caa6fa8a559af38a9b878b700ebd3
parent 4c337b8149256aebc57892868ec4c7b8554374de
Author: Jake Koroman <jakekoroman@gmail.com>
Date: Sat, 23 Mar 2024 16:36:20 -0400
bash updates.
Diffstat:
2 files changed, 11 insertions(+), 10 deletions(-)
diff --git a/.bash_aliases b/.bash_aliases
@@ -3,20 +3,17 @@ alias ls='ls --color=auto'
alias l='ls -l'
alias ll='ls -la'
-alias e='nvim'
-
+alias v='nvim'
+alias vv='doas nvim'
alias nt='firefox --new-tab'
alias nw='firefox --new-window'
-if [ -z $I3SOCK ]; then
- alias sw='$HOME/dotfiles/Scripts/myswallow'
-else
- alias sw='swallow'
-fi
-
-alias sudo='sudo '
+alias e='doas emerge'
+alias eu='equery uses'
+alias em='equery meta'
+alias eb='equery belongs'
+alias p='doas pacman'
-alias work='vncviewer -passwd ~/.vnc/passwd 192.168.0.247'
alias nas='doas mount /media/nas && cd /media/nas'
alias poweroff='doas /sbin/poweroff'
diff --git a/.bashrc b/.bashrc
@@ -16,6 +16,7 @@ fi
# Put your fun stuff here.
+shopt -s autocd
export HISTCONTROL=ignoreboth:erasedups
export HISTSIZE=2500
export HISTFILESIZE=5000
@@ -26,6 +27,9 @@ source $HOME/.bash_aliases
export PS1='\[\e[92m\]\w\[\e[0m\] \[\e[95m\]>\[\e[0m\] '
#export PS1="${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ "
export PATH=$HOME/.local/bin:$HOME/scripts:$PATH
+
export EDITOR=nvim
+export BROWSER=firefox
+export TERM=xterm-256color
clear