From 3756fc70bcf9ba93759435fcf9bd197d3ea811d5 Mon Sep 17 00:00:00 2001 From: Marek Paśnikowski Date: Tue, 7 Feb 2023 15:04:52 +0100 Subject: Integrate the bashrc file --- bashrc | 39 --------------------------------------- 1 file changed, 39 deletions(-) delete mode 100644 bashrc (limited to 'bashrc') 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 -- cgit v1.2.3