aboutsummaryrefslogtreecommitdiff
path: root/TMV
diff options
context:
space:
mode:
Diffstat (limited to 'TMV')
-rw-r--r--TMV/.bashrc10
-rw-r--r--TMV/.config/aliasrc5
-rw-r--r--TMV/.config/shortcutrc3
-rw-r--r--TMV/.profile6
4 files changed, 11 insertions, 13 deletions
diff --git a/TMV/.bashrc b/TMV/.bashrc
index 7503f93..ed47e62 100644
--- a/TMV/.bashrc
+++ b/TMV/.bashrc
@@ -4,15 +4,8 @@ HISTSIZE= HISTFILESIZE= # Infinite history.
export PS1="\[$(tput bold)\]\[$(tput setaf 1)\][\[$(tput setaf 0)\]\t \[$(tput setaf 3)\]\u\[$(tput setaf 2)\]@\[$(tput setaf 4)\]\h \[$(tput setaf 5)\]\W\[$(tput setaf 1)\]]\[$(tput setaf 7)\]\\$ \[$(tput sgr0)\]"
-[ -f "$HOME/.config/shortcutrc" ] && source "$HOME/.config/shortcutrc" # Load shortcut aliases
[ -f "$HOME/.config/aliasrc" ] && source "$HOME/.config/aliasrc"
-###PERSONAL EDITS
-export WINDOWS='/mnt/windows'
-export PATH=$PATH:/home/mas/py/
-export TERMINAL='xterm'
-export BAT_THEME="Dracula"
-
# append to the history instead of overwriting (good for multiple connections)
shopt -s histappend
@@ -21,3 +14,6 @@ export HISTCONTROL=erasedups
#reminder of what to do
cat /home/mas/TODO.leny
+
+[ -f /etc/bash.command-not-found ] && . /etc/bash.command-not-found
+
diff --git a/TMV/.config/aliasrc b/TMV/.config/aliasrc
index 1a29907..7407052 100644
--- a/TMV/.config/aliasrc
+++ b/TMV/.config/aliasrc
@@ -23,6 +23,9 @@ alias mpv="mpv --input-ipc-server=/tmp/mpvsoc$(date +%s)" \
cp='cp -v' \
mv='mv -v' \
mkdir='mkdir -pv' \
- rmac='rmac.py'
+ rm='rm -v' \
+ rmac='rmac.py' \
+ vv='cd ~/Videos && ls -A *' \
+ pp='cd ~/Pictures && ls -A *'
command -v nvim >/dev/null && alias vim="nvim" vimdiff="nvim -d" # Use neovim for vim if present.
diff --git a/TMV/.config/shortcutrc b/TMV/.config/shortcutrc
deleted file mode 100644
index f2f2c4d..0000000
--- a/TMV/.config/shortcutrc
+++ /dev/null
@@ -1,3 +0,0 @@
-# vim: filetype=sh
-pp="cd ~/Pictures && ls -a" \
-vv="cd ~/Videos && ls -a" \
diff --git a/TMV/.profile b/TMV/.profile
index 55fd83d..633492b 100644
--- a/TMV/.profile
+++ b/TMV/.profile
@@ -3,7 +3,7 @@
# Profile file. Runs on login. Environmental variables are set here.
# Adds `~/.local/bin` to $PATH
-export PATH="$PATH:$HOME/.local/bin/"
+export PATH="$PATH:$HOME/.local/bin/:$HOME/py/"
# Default programs:
export EDITOR="nvim"
@@ -27,6 +27,9 @@ export LESS_TERMCAP_se="$(printf '%b' '')"
export LESS_TERMCAP_us="$(printf '%b' '')"
export LESS_TERMCAP_ue="$(printf '%b' '')"
+export WINDOWS='/mnt/windows'
+export BAT_THEME="Dracula"
+
[ ! -f ~/.config/shortcutrc ] && shortcuts >/dev/null 2>&1
echo "$0" | grep "bash$" >/dev/null && [ -f ~/.bashrc ] && source "$HOME/.bashrc"
@@ -34,5 +37,4 @@ echo "$0" | grep "bash$" >/dev/null && [ -f ~/.bashrc ] && source "$HOME/.bashrc
# Start graphical server if i3 not already running.
[ "$(tty)" = "/dev/tty1" ] && ! pgrep -x Xorg >/dev/null && exec startx
-#rm ~/.config/ibus/rime/build/default.yaml; ibus-daemon -drx