diff options
author | Thanos Apollo <[email protected]> | 2024-05-13 08:42:44 +0300 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2024-05-13 08:42:44 +0300 |
commit | 2e74d58a4f675b5301e69cae105503198d7ff846 (patch) | |
tree | e92cca5c6406898e9ac1eae08653d894c24e3acf /bash-base.sh | |
parent | b6d164b032b255767b04a73e8ac0e04b61991048 (diff) | |
parent | 5d6840de02f01c017cc1ce99238d6962331087da (diff) |
Merge branch 'guix-config'
Diffstat (limited to 'bash-base.sh')
-rw-r--r-- | bash-base.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/bash-base.sh b/bash-base.sh new file mode 100644 index 0000000..def52ec --- /dev/null +++ b/bash-base.sh @@ -0,0 +1,17 @@ +# source ~/.shells/alias.sh +# source ~/.shells/exports.sh +# source /etc/profile +source ~/.profile + + +GUIX_PROFILE="$HOME/.guix-profile" +. "$GUIX_PROFILE/etc/profile" + +## Prompt +if ${use_color} ; then + PS1='$(git branch --show-current 2>/dev/null)'; PS1='\n\[\e[38;5;102;2;3m\]\u\[\e[0m\]@\[\e[38;5;153;2;3m\]\h\n\[\e[0;38;5;226m\]\w \[\e[38;5;75;3m\]${PS1_CMD1}\n\[\e[0;38;5;198m\]λ \[\e[0m\]' +else + PS1+='\u@\h \w \$ ' +fi + +## complete -cf sudo |