diff options
Diffstat (limited to '.bashrc')
-rw-r--r-- | .bashrc | 21 |
1 files changed, 20 insertions, 1 deletions
@@ -22,6 +22,12 @@ alias btd="bittorrent-curses --max_upload_rate 6 " export history_control=ignoreboth export command_oriented_history export HISTIGNORE='&:[bf]g:exit:ls' +export ALTERNATE_EDITOR='' +export EDITOR=emacsclient +alias e=emacsclient + +export LESSCOLORIZER='pygmentize -O bg=dark,style=github-dark -f terminal16m' + shopt -s extglob shopt -s cmdhist shopt -s histappend @@ -48,7 +54,20 @@ function xreset() { esac } -. ~/src/git-prompt/git-prompt.sh +#. ~/src/git-prompt/git-prompt.sh +function starship_set_win_title() { + local cwd="${PWD/$HOME/\~}" + cwd="${cwd##[/~]*/}/" + + xtitle "$USER@$(hostname):$cwd" +} +starship_precmd_user_func=starship_set_win_title +eval "$(starship init bash)" + +export PATH="$PATH:/usr/local/sietima/bin" +for b in /usr/local/sietima/bin/*.bashcomp; do + . "$b" +done #export PS1="\ #\[\033[1;37m\]\u@\h\ |