diff options
author | Marek Paśnikowski <marekpasnikowski@protonmail.com> | 2023-02-07 15:04:52 +0100 |
---|---|---|
committer | Marek Paśnikowski <marekpasnikowski@protonmail.com> | 2023-02-07 15:25:44 +0100 |
commit | d30bf6d23ccd1c3250149e9f0d030d88eaa078bf (patch) | |
tree | 9516a44afc86eaa41731d409dd6f6b22304262e1 /bashrc | |
parent | 7cbca32b45b340330145ba2e57d7190ee7bceaba (diff) |
Integrate the bashrc file
Diffstat (limited to 'bashrc')
-rw-r--r-- | bashrc | 39 |
1 files changed, 0 insertions, 39 deletions
@@ -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 |