diff options
| author | Evgenii Lepikhin <e.lepikhin@corp.mail.ru> | 2023-05-22 17:07:05 +0300 |
|---|---|---|
| committer | Evgenii Lepikhin <e.lepikhin@corp.mail.ru> | 2023-05-22 17:07:05 +0300 |
| commit | 780de6afef3b3699cc0c83da830a855eef3d3826 (patch) | |
| tree | 06d47ec722adc7af87940f54acdb8782514967ce | |
| parent | fix: Set LIBRARY_PATH in bashrc too (diff) | |
| download | johnlepikhin-guix-channel-780de6afef3b3699cc0c83da830a855eef3d3826.tar.gz | |
refactor: Common bash-helpers
| -rw-r--r-- | johnlepikhin/home/bash.scm | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/johnlepikhin/home/bash.scm b/johnlepikhin/home/bash.scm index cb2e215..f2ab8f8 100644 --- a/johnlepikhin/home/bash.scm +++ b/johnlepikhin/home/bash.scm @@ -76,8 +76,8 @@ function setup_bash_prompt () { } setup_bash_prompt") -(define-public bashrc-helpers - "\ +(define-public bash-helpers +"\ function whereis_guix { if [[ -z \"$1\" ]]; then echo \"Argument is required\" >2 @@ -86,14 +86,7 @@ function whereis_guix { ls -l `which $1` | sed -r 's/.* (.+)\\/bin\\/[^\\/]+/\\1/' } -# temporary fix for https://issues.guix.gnu.org/63238 -export LIBRARY_PATH=\"$HOME/lib:$LIBRARY_PATH\" -") - -(define-public bash_profile-helpers -"\ - -export PATH=\"$HOME/bin:$HOME/.cargo/bin:$HOME/go/bin:$HOME/.local/bin:$PATH\" +export PATH=\"$HOME/.cargo/bin:$HOME/go/bin:$HOME/.local/bin:$PATH\" # temporary fix for https://issues.guix.gnu.org/63238 export LIBRARY_PATH=\"$HOME/lib:$LIBRARY_PATH\" |
