diff options
author | Mattias Andrée <maandree@kth.se> | 2021-06-25 18:32:00 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2021-06-25 18:32:00 +0200 |
commit | a4365ba31618050830a109e67290011fd981d069 (patch) | |
tree | 90828c9dbb1ee5e33f58b3d30efeb4b8dc0fa851 | |
parent | Comment out things in xmonad that has stopped working (diff) | |
download | dotfiles-a4365ba31618050830a109e67290011fd981d069.tar.gz dotfiles-a4365ba31618050830a109e67290011fd981d069.tar.bz2 dotfiles-a4365ba31618050830a109e67290011fd981d069.tar.xz |
Fix bugs
Signed-off-by: Mattias Andrée <maandree@kth.se>
-rw-r--r-- | bash-completion/bash-aliases | 6 | ||||
-rw-r--r-- | bash/bashrc | 4 | ||||
-rw-r--r-- | coreutils/bash-bashrc | 6 |
3 files changed, 8 insertions, 8 deletions
diff --git a/bash-completion/bash-aliases b/bash-completion/bash-aliases index 92aab19..00f8341 100644 --- a/bash-completion/bash-aliases +++ b/bash-completion/bash-aliases @@ -10,7 +10,7 @@ recomplete () { if test -f /usr/share/bash-completion/bash_completion && ! shopt -oq posix; then . /usr/share/bash-completion/bash_completion fi - if test -d ~/.local/bash_completion.d ] && ! shopt -oq posix; then + if test -d ~/.local/bash_completion.d && ! shopt -oq posix; then for __completionscript in ~/.local/bash_completion.d/*; do if test -r "${__completionscript}"; then . "${__completionscript}" @@ -20,8 +20,8 @@ recomplete () { fi if test -d ~/.local/share/bash_completion.d && ! shopt -oq posix; then for __completionscript in ~/.local/share/bash_completion.d/*; do - if [ -r "${__completionscript}" ]; then - . "${__completionscript}" + if test -r "${__completionscript}"; then + . "${__completionscript}" fi done unset __completionscript diff --git a/bash/bashrc b/bash/bashrc index a500a9d..26a319a 100644 --- a/bash/bashrc +++ b/bash/bashrc @@ -32,8 +32,8 @@ if test -r /etc/bash_opt; then . /etc/bash_opt fi -~/.config/bash/bashrc_palette -~/.config/bash/bashrc_prompt +. ~/.config/bash/bashrc_palette +. ~/.config/bash/bashrc_prompt for __script in ~/.config/bash/bashrc.d/*; do if test -r "${__script}"; then diff --git a/coreutils/bash-bashrc b/coreutils/bash-bashrc index c4df04b..13000c6 100644 --- a/coreutils/bash-bashrc +++ b/coreutils/bash-bashrc @@ -43,9 +43,9 @@ export LS_COLORS=\ "st=31:"\ "ow=32:"\ "tw=33:"\ -"$(printf "*.%s=34:" tar tgz arj taz lzh lzma tlz txz zip z Z dz gz lz xz bz2 bz tbz tbz2 tz deb rpm jar war ear sar rar +"$(printf "*.%s=34:" tar tgz arj taz lzh lzma tlz txz zip z Z dz gz lz xz bz2 bz tbz tbz2 tz deb rpm jar war ear sar rar \ ace zoo cpio 7z rz zst dmg)"\ -"$(printf "*.%s=35:" jpg jpeg gif bmp pbm pgm ppm tga zbm xpm tif tiff png svg svgz mng pcx mov mpg mpeg m2v mkc webm ogm - mp4 m4v mp4v vob nuv wmv asf rm rmvb flv avi fli flv gl dl xcf xwd yuv cgm emf axv anx ogv ogx pam +"$(printf "*.%s=35:" jpg jpeg gif bmp pbm pgm ppm tga zbm xpm tif tiff png svg svgz mng pcx mov mpg mpeg m2v mkc webm ogm \ + mp4 m4v mp4v vob nuv wmv asf rm rmvb flv avi fli flv gl dl xcf xwd yuv cgm emf axv anx ogv ogx pam \ ff webm webp)"\ "$(printf "*.%s=36:" aac au flc flac m4a mid midi mka mp3 mpc ogg ra wav axa oga spx xsdf opus)" |