From f8ef62623ba20d2faee059468e2d11e5b5d03ea3 Mon Sep 17 00:00:00 2001 From: Brad Date: Fri, 10 May 2019 15:56:02 -0500 Subject: [PATCH] I'm sorry. --- Arch/.bashrc | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/Arch/.bashrc b/Arch/.bashrc index 9f5e4b2..8b62c6b 100644 --- a/Arch/.bashrc +++ b/Arch/.bashrc @@ -4,11 +4,12 @@ # If not running interactively, don't do anything [[ $- != *i* ]] && return -if command -v tmux &> /dev/null && [ -n "$PS1" ] && [[ ! "$TERM" =~ screen ]] && [[ ! "$TERM" =~ tmux ]] && [ -z "$TMUX" ]; then - exec tmux -2 attach-session || tmux -2 new-session -fi +#if command -v tmux &> /dev/null && [ -n "$PS1" ] && [[ ! "$TERM" =~ screen ]] && [[ ! "$TERM" =~ tmux ]] && [ -z "$TMUX" ]; then +# exec tmux -2 attach-session || tmux -2 new-session +#fi alias ls='ls --color=auto' PS1='[\u@\h \W]\$ ' +export TERM=linux alias sudo='sudo ' alias ~='cd ~/' alias nano='vim' @@ -50,7 +51,7 @@ alias iotop='sudo iotop' alias artistradio='tizonia --spotify-related-artists' alias wifilist='nmcli device wifi list' alias cb='xclip -selection clipboard' -export PATH=$PATH:~/scripts:/usr/local/go/bin +export PATH=$PATH:~/scripts:~/bin:/usr/local/go/bin export npm_config_prefix=~/.node_modules export EDITOR='vim' export VISUAL='vim' @@ -222,3 +223,8 @@ haste(){ fi } +reinstallAll(){ +for pkg in $(pacman -Q | cut -d' ' -f1); do + yay -S --noconfirm $pkg | lolcat +done +}