summaryrefslogtreecommitdiff
path: root/.bashrc
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2023-04-21 16:15:29 +0100
committerubq323 <ubq323@ubq323.website>2023-04-21 16:15:29 +0100
commitbb99485eee19fb94e3e57c299e46eb4cabb657bd (patch)
tree23cc6efb485f7cfbd39dbb7c5da8e3226f7b5759 /.bashrc
parent52cd8d6f8fa1f5ed4bbd9293fbb8a463e97c3c4f (diff)
various
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc21
1 files changed, 18 insertions, 3 deletions
diff --git a/.bashrc b/.bashrc
index d2d50e0..018ee89 100644
--- a/.bashrc
+++ b/.bashrc
@@ -4,7 +4,11 @@
[[ $- != *i* ]] && return
alias ls='ls --color=auto'
-PS1='[\u@\h \W]\$ '
+alias grep='grep --color=auto'
+PS1='\[\e[90m\][\u@\h \W]\$\[\e[0m\] '
+
+shopt -s histappend
+HISTCONTROL=ignoreboth
poezio () { ~/soft/poezio/launch.sh; }
@@ -20,8 +24,8 @@ runtimeify() {
export XDG_RUNTIME_DIR=/run/user/1000
}
-alias vz='kak ~/.bashrc'
-alias sz='source ~/.bashrc'
+alias kb='kak ~/.bashrc'
+alias .b='source ~/.bashrc'
alias l='ls -lah'
@@ -39,6 +43,17 @@ _lastcmd () { history 1 | sed -e 's/^ *[0-9]* *//g' ; }
trap 'set_title "$(_lastcmd)"' DEBUG
PROMPT_COMMAND='set_title "$(apwd)"'
+trap '.b' USR1
+
+
+export LUA_PATH_5_3="$HOME/.local/lib/lua/5.3/?.lua;;"
+export LUA_PATH_5_1="$HOME/.local/lib/lua/5.1/?.lua;;"
+export LUA_CPATH_5_3="$HOME/.local/lib/lua/5.3/?.so;;"
+export LUA_CPATH_5_1="$HOME/.local/lib/lua/5.1/?.so;;"
+
+export MANPATH="$HOME/.local/share/man:"
+
+
add_path () {
export PATH="$1:$PATH"
}