diff options
Diffstat (limited to '.bashrc')
-rw-r--r-- | .bashrc | 21 |
1 files changed, 18 insertions, 3 deletions
@@ -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" } |