Update install and powerline bits

This commit is contained in:
Alexander Hosking 2021-12-19 01:41:18 -05:00
parent bc5ca7abcb
commit af51c93b1e
2 changed files with 13 additions and 13 deletions

View File

@ -13,10 +13,8 @@ export EXTRA_DIR
mkdir -p ~/apps mkdir -p ~/apps
### install packages ### install packages
## sudo apt-get install -y -f python-pip python-dev powerline arandr sudo apt-get install -y -f python3-pip python3-dev powerline arandr
sudo apt install -y -f vagrant
## install kryptonite
##curl https://krypt.co/kr | sh
#vim backup folders #vim backup folders
mkdir -p ~/.vim/{backup_files,swap_files,undo_files} mkdir -p ~/.vim/{backup_files,swap_files,undo_files}

View File

@ -144,13 +144,15 @@ if ! shopt -oq posix; then
fi fi
if [ -f `which powerline-daemon` ]; then # Powerline configuration
if [ -f /usr/share/powerline/bindings/bash/powerline.sh ]; then
powerline-daemon -q powerline-daemon -q
POWERLINE_BASH_CONTINUATION=1 POWERLINE_BASH_CONTINUATION=1
POWERLINE_BASH_SELECT=1 POWERLINE_BASH_SELECT=1
. /usr/share/powerline/bindings/bash/powerline.sh source /usr/share/powerline/bindings/bash/powerline.sh
fi fi
# Persistent Bash History to alternative dotfile # Persistent Bash History to alternative dotfile
log_bash_persistent_history() log_bash_persistent_history()
{ {
@ -173,7 +175,7 @@ run_on_prompt_command()
log_bash_persistent_history log_bash_persistent_history
} }
PROMPT_COMMAND="run_on_prompt_command && _powerline_set_prompt" PROMPT_COMMAND="run_on_prompt_command && source /usr/share/powerline/bindings/bash/powerline.sh"
## Keyboard Mapping!!! ## Keyboard Mapping!!!
setxkbmap dvorak setxkbmap dvorak
@ -181,10 +183,10 @@ export PYENV_ROOT="$HOME/.pyenv"
export PATH="$PYENV_ROOT/bin:$PATH" export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)" eval "$(pyenv init -)"
source ~/bin/bruise source ~/bin/bruise
export PATH="$PATH:$HOME/.local/bin" #export PATH="$PATH:$HOME/.local/bin"
export PATH="$PATH:/opt/trello:/opt/pycharm/bin" #export PATH="$PATH:/opt/trello:/opt/pycharm/bin"
export XDG_CURRENT_DESKTOP=GNOME #export XDG_CURRENT_DESKTOP=GNOME
alias nemo='nemo --no-desktop' #alias nemo='nemo --no-desktop'
eval `dircolors ~/.vimspectr-shell/dircolors` #eval `dircolors ~/.vimspectr-shell/dircolors`
[ -n "$PS1" ] && sh ~/.vimspectr-shell/vimspectr60-dark #[ -n "$PS1" ] && sh ~/.vimspectr-shell/vimspectr60-dark