fe90f070ec7372ff59d0fa604a3d4b887ae0b07e
commit fe90f070ec7372ff59d0fa604a3d4b887ae0b07e
Author: Simon Watson <spw01@protonmail.com>
Date: Mon Jul 12 09:04:46 2021 -0400

Add work bashrc and Linux config

diff --git a/bashrc/bashrc-fedora-work b/bashrc/bashrc-fedora-work
new file mode 100644
index 0000000..9fa6e06
--- /dev/null
+++ b/bashrc/bashrc-fedora-work
@@ -0,0 +1,65 @@
+# .bashrc
+
+# Source global definitions
+if [ -f /etc/bashrc ]; then
+ . /etc/bashrc
+fi
+
+if [ -f ~/.wal_alias ]; then
+ . ~/.wal_alias
+fi
+
+
+# User specific environment
+if ! [[ "$PATH" =~ "$HOME/.local/bin:$HOME/bin:" ]]
+then
+ PATH="$HOME/.local/bin:$HOME/bin:$PATH"
+fi
+export PATH
+
+export EDITOR=/usr/bin/vim
+
+# Uncomment the following line if you don't like systemctl's auto-paging feature:
+# export SYSTEMD_PAGER=
+
+# User specific aliases and functions
+if [ -d ~/.bashrc.d ]; then
+ for rc in ~/.bashrc.d/*; do
+ if [ -f "$rc" ]; then
+ . "$rc"
+ fi
+ done
+fi
+
+unset rc
+
+[ -f ~/.fzf.bash ] && source ~/.fzf.bash
+#export PS1="\e[1;32m\u\e[0m@\h: \$PWD $ "
+PS1="[\[\033[36m\]\u\[\033[m\]@\[\033[32m\]\h:\[\033[33;1m\]\w\[\033[m\]]\$ "
+#PS1='\[\e]1;\s\$ \W\a\e]2;\u@\h\a\]'"$PS1"
+#export $PS1
+
+alias start_od="rclone --vfs-cache-mode writes mount ipconedrive: /home/watonsi/OneDrive/"
+alias pass_server="ssh watsonsi@ffdctpws1.ipc.com"
+alias shorten-ps1="PS1='\$ '"
+alias default-ps1="PS1='[\[\033[36m\]\u\[\033[m\]@\[\033[32m\]\h:\[\033[33;1m\]\w\[\033[m\]]\$ '"
+alias ls="/usr/bin/exa"
+alias ll="/usr/bin/exa -lah"
+
+cat /home/watonsi/.cache/wal/sequences
+. "$HOME/.cargo/env"
+
+alias tmux="systemd-run --scope --user tmux"
+alias tmuxn="tmux new -s $1"
+alias tmuxa="/bin/tmux attach -t $1"
+alias tmuxl="/bin/tmux ls"
+alias tmuxq="echo $TMUX"
+
+# function to set terminal title
+function set-title() {
+ if [[ -z "$ORIG" ]]; then
+ ORIG=$PS1
+ fi
+ TITLE="\[\e]2;$*\a\]"
+ PS1=${ORIG}${TITLE}
+}
diff --git a/emacs/.emacs-all b/emacs/.emacs-all
index 92d3b8e..934661f 100644
--- a/emacs/.emacs-all
+++ b/emacs/.emacs-all
@@ -179,7 +179,9 @@
(load-theme 'nano t)
(nano-dark)))

-;; Load for Linux
+;; Load for GUI Linux

-;; Load for Linux Term
+;; Load for Term
+(unless (display-graphic-p)
+ (xterm-mouse-mode t))