diff options
-rw-r--r-- | aisaka.org | 9 | ||||
-rw-r--r-- | bashrc | 39 | ||||
-rw-r--r-- | home-configuration.scm | 3 |
3 files changed, 10 insertions, 41 deletions
@@ -233,7 +233,8 @@ https://guix.gnu.org/en/manual/devel/en/html_node/Home-Configuration.html ("reconfigure-system-" . ,reconfigure-system-) ("system-update" . ,system-update) ("system-update-" . ,system-update-))) - (bashrc `(,(local-file "bashrc"))))) + (bashrc (list + (plain-file "bashrc" "<<ld-library-path>>"))))) (simple-service 'configuration-files home-files-service-type `((".config/git/config" ,(local-file "git.config")) @@ -242,6 +243,12 @@ https://guix.gnu.org/en/manual/devel/en/html_node/Home-Configuration.html (".emacs" ,(local-file "emacs.el"))))))) #+end_src +*** TODO bashrc + +#+begin_src bash :noweb-prefix no :noweb-ref ld-library-path + export LD_LIBRARY_PATH=$LIBRARY_PATH +#+end_src + * TODO LIBREBOOT The first layer of computing is the firmware. The Lenovo Thinkpad X200 has @@ -1,39 +0,0 @@ -export LD_LIBRARY_PATH=$LIBRARY_PATH - -# kdesrc-build ################################################################# - -## Add kdesrc-build to PATH -export PATH="$HOME/kde/src/kdesrc-build:$PATH" - - -## Autocomplete for kdesrc-run -function _comp_kdesrc_run -{ - local cur - COMPREPLY=() - cur="${COMP_WORDS[COMP_CWORD]}" - - # Complete only the first argument - if [[ $COMP_CWORD != 1 ]]; then - return 0 - fi - - # Retrieve build modules through kdesrc-run - # If the exit status indicates failure, set the wordlist empty to avoid - # unrelated messages. - local modules - if ! modules=$(kdesrc-run --list-installed); - then - modules="" - fi - - # Return completions that match the current word - COMPREPLY=( $(compgen -W "${modules}" -- "$cur") ) - - return 0 -} - -## Register autocomplete function -complete -o nospace -F _comp_kdesrc_run kdesrc-run - -################################################################################
\ No newline at end of file diff --git a/home-configuration.scm b/home-configuration.scm index 1667457..e436135 100644 --- a/home-configuration.scm +++ b/home-configuration.scm @@ -161,7 +161,8 @@ ("reconfigure-system-" . ,reconfigure-system-) ("system-update" . ,system-update) ("system-update-" . ,system-update-))) - (bashrc `(,(local-file "bashrc"))))) + (bashrc (list + (plain-file "bashrc" "export LD_LIBRARY_PATH=$LIBRARY_PATH"))))) (simple-service 'configuration-files home-files-service-type `((".config/git/config" ,(local-file "git.config")) |