diff --git a/.bashrc b/.bashrc index 0dcf9fc..1f1bb25 100644 --- a/.bashrc +++ b/.bashrc @@ -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 diff --git a/.config/guix/manifests/console.scm b/.config/guix/manifests/console.scm index 75beca9..ccb8f4a 100644 --- a/.config/guix/manifests/console.scm +++ b/.config/guix/manifests/console.scm @@ -11,4 +11,5 @@ "rust-starship" "dt-colorscripts" "fish" + "xhost" "xrdb")) diff --git a/Console.org b/Console.org index 151411d..8ed9ab8 100644 --- a/Console.org +++ b/Console.org @@ -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: