summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--aisaka.org9
-rw-r--r--bashrc39
-rw-r--r--home-configuration.scm3
3 files changed, 10 insertions, 41 deletions
diff --git a/aisaka.org b/aisaka.org
index 6011ec9..552554b 100644
--- a/aisaka.org
+++ b/aisaka.org
@@ -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
diff --git a/bashrc b/bashrc
deleted file mode 100644
index 4b2a0c5..0000000
--- a/bashrc
+++ /dev/null
@@ -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"))