mirror of
https://github.com/SqrtMinusOne/dotfiles.git
synced 2025-12-10 19:23:03 +03:00
feat(guix): simple bash shell
This commit is contained in:
parent
695629551f
commit
912ca5d181
3 changed files with 25 additions and 2 deletions
11
.bashrc
11
.bashrc
|
|
@ -104,6 +104,15 @@ alias q="exit"
|
||||||
alias c="clear"
|
alias c="clear"
|
||||||
# Aliases:1 ends here
|
# 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]]
|
# [[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
|
# Starship prompt:1 ends here
|
||||||
|
|
|
||||||
|
|
@ -11,4 +11,5 @@
|
||||||
"rust-starship"
|
"rust-starship"
|
||||||
"dt-colorscripts"
|
"dt-colorscripts"
|
||||||
"fish"
|
"fish"
|
||||||
|
"xhost"
|
||||||
"xrdb"))
|
"xrdb"))
|
||||||
|
|
|
||||||
15
Console.org
15
Console.org
|
|
@ -178,6 +178,10 @@ Source the system-wide file
|
||||||
source /etc/bashrc
|
source /etc/bashrc
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
| Guix dependency |
|
||||||
|
|-----------------|
|
||||||
|
| xhost |
|
||||||
|
|
||||||
Allow other users to access X server. Necessary for stuff like aw-watcher-window.
|
Allow other users to access X server. Necessary for stuff like aw-watcher-window.
|
||||||
#+begin_src bash
|
#+begin_src bash
|
||||||
xhost +local:root > /dev/null 2>&1
|
xhost +local:root > /dev/null 2>&1
|
||||||
|
|
@ -286,6 +290,13 @@ alias ll="exa -lah --icons"
|
||||||
alias q="exit"
|
alias q="exit"
|
||||||
alias c="clear"
|
alias c="clear"
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
#+begin_src bash
|
||||||
|
if [[ ! -z "$SIMPLE" ]]; then
|
||||||
|
unalias ls
|
||||||
|
alias ll="ls -lah"
|
||||||
|
fi
|
||||||
|
#+end_src
|
||||||
*** OFF (OFF) Anaconda
|
*** OFF (OFF) Anaconda
|
||||||
#+begin_quote
|
#+begin_quote
|
||||||
managed by 'conda init' !!!
|
managed by 'conda init' !!!
|
||||||
|
|
@ -310,7 +321,9 @@ unset __conda_setup
|
||||||
#+end_src
|
#+end_src
|
||||||
*** Starship prompt
|
*** Starship prompt
|
||||||
#+begin_src bash
|
#+begin_src bash
|
||||||
eval "$(starship init bash)"
|
if [[ -z "$SIMPLE" ]]; then
|
||||||
|
eval "$(starship init bash)"
|
||||||
|
fi
|
||||||
#+end_src
|
#+end_src
|
||||||
* Fish
|
* Fish
|
||||||
:PROPERTIES:
|
:PROPERTIES:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue