feat(guix): simple bash shell

This commit is contained in:
Pavel Korytov 2021-06-11 11:31:14 +03:00
parent 695629551f
commit 912ca5d181
3 changed files with 25 additions and 2 deletions

11
.bashrc
View file

@ -104,6 +104,15 @@ alias q="exit"
alias c="clear"
# Aliases:1 ends here
# [[file:Console.org::*Aliases][Aliases:2]]
if [[ ! -z "$SIMPLE" ]]; then
unalias ls
alias ll="ls -lah"
fi
# Aliases:2 ends here
# [[file:Console.org::*Starship prompt][Starship prompt:1]]
eval "$(starship init bash)"
if [[ -z "$SIMPLE" ]]; then
eval "$(starship init bash)"
fi
# Starship prompt:1 ends here

View file

@ -11,4 +11,5 @@
"rust-starship"
"dt-colorscripts"
"fish"
"xhost"
"xrdb"))

View file

@ -178,6 +178,10 @@ Source the system-wide file
source /etc/bashrc
#+end_src
| Guix dependency |
|-----------------|
| xhost |
Allow other users to access X server. Necessary for stuff like aw-watcher-window.
#+begin_src bash
xhost +local:root > /dev/null 2>&1
@ -286,6 +290,13 @@ alias ll="exa -lah --icons"
alias q="exit"
alias c="clear"
#+end_src
#+begin_src bash
if [[ ! -z "$SIMPLE" ]]; then
unalias ls
alias ll="ls -lah"
fi
#+end_src
*** OFF (OFF) Anaconda
#+begin_quote
managed by 'conda init' !!!
@ -310,7 +321,9 @@ unset __conda_setup
#+end_src
*** Starship prompt
#+begin_src bash
eval "$(starship init bash)"
if [[ -z "$SIMPLE" ]]; then
eval "$(starship init bash)"
fi
#+end_src
* Fish
:PROPERTIES: