From af51c93b1e91e01ec5520e855848f12636123b15 Mon Sep 17 00:00:00 2001 From: Alexander Hosking Date: Sun, 19 Dec 2021 01:41:18 -0500 Subject: [PATCH] Update install and powerline bits --- install.sh | 6 ++---- run/.bashrc | 20 +++++++++++--------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/install.sh b/install.sh index ee18f8b..bd0cdc0 100755 --- a/install.sh +++ b/install.sh @@ -13,10 +13,8 @@ export EXTRA_DIR mkdir -p ~/apps ### install packages -## sudo apt-get install -y -f python-pip python-dev powerline arandr - -## install kryptonite -##curl https://krypt.co/kr | sh +sudo apt-get install -y -f python3-pip python3-dev powerline arandr +sudo apt install -y -f vagrant #vim backup folders mkdir -p ~/.vim/{backup_files,swap_files,undo_files} diff --git a/run/.bashrc b/run/.bashrc index f1f0580..b2ef47c 100755 --- a/run/.bashrc +++ b/run/.bashrc @@ -144,13 +144,15 @@ if ! shopt -oq posix; then fi -if [ -f `which powerline-daemon` ]; then +# Powerline configuration +if [ -f /usr/share/powerline/bindings/bash/powerline.sh ]; then powerline-daemon -q POWERLINE_BASH_CONTINUATION=1 POWERLINE_BASH_SELECT=1 - . /usr/share/powerline/bindings/bash/powerline.sh + source /usr/share/powerline/bindings/bash/powerline.sh fi + # Persistent Bash History to alternative dotfile log_bash_persistent_history() { @@ -173,7 +175,7 @@ run_on_prompt_command() 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!!! setxkbmap dvorak @@ -181,10 +183,10 @@ export PYENV_ROOT="$HOME/.pyenv" export PATH="$PYENV_ROOT/bin:$PATH" eval "$(pyenv init -)" source ~/bin/bruise -export PATH="$PATH:$HOME/.local/bin" -export PATH="$PATH:/opt/trello:/opt/pycharm/bin" -export XDG_CURRENT_DESKTOP=GNOME +#export PATH="$PATH:$HOME/.local/bin" +#export PATH="$PATH:/opt/trello:/opt/pycharm/bin" +#export XDG_CURRENT_DESKTOP=GNOME -alias nemo='nemo --no-desktop' -eval `dircolors ~/.vimspectr-shell/dircolors` -[ -n "$PS1" ] && sh ~/.vimspectr-shell/vimspectr60-dark +#alias nemo='nemo --no-desktop' +#eval `dircolors ~/.vimspectr-shell/dircolors` +#[ -n "$PS1" ] && sh ~/.vimspectr-shell/vimspectr60-dark