aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-08-23 21:53:26 -0300
committerSilvio Rhatto <rhatto@riseup.net>2017-08-23 21:53:26 -0300
commit965091161e9ce2714b07f0a374da4ac6e88a57bf (patch)
tree8b61b3812a4bb679435248fdc8e8464a66c5d851
parentb74f33f91abd25d36863df109cf4181ab003b4a1 (diff)
downloadprofile-965091161e9ce2714b07f0a374da4ac6e88a57bf.tar.gz
profile-965091161e9ce2714b07f0a374da4ac6e88a57bf.tar.bz2
Updates powerline config for bash and sets default screen shell
-rw-r--r--profile.dot.link3
-rw-r--r--screen.dot/base.link3
2 files changed, 6 insertions, 0 deletions
diff --git a/profile.dot.link b/profile.dot.link
index 83d4fc7..04e67bc 100644
--- a/profile.dot.link
+++ b/profile.dot.link
@@ -215,6 +215,9 @@ fi
if [ "$0" = "bash" ]; then
# Command prompt if no system-wide custom prompt is available
if [ -e "/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
elif ! type command_prompt &> /dev/null && [ -e "$HOME/apps/shellprompt/prompt" ]; then
. $HOME/apps/shellprompt/prompt
diff --git a/screen.dot/base.link b/screen.dot/base.link
index 750cbdc..26e86be 100644
--- a/screen.dot/base.link
+++ b/screen.dot/base.link
@@ -23,6 +23,9 @@ pow_detach_msg "Screen session of \$LOGNAME \$:cr:\$:nl:ended."
# make the shell in every window a login shell
#shell -$SHELL
+# Run a specific shell
+defshell /bin/zsh
+
# autoaka testing
# shellaka '> |tcsh'
# shellaka '$ |sh'