mirror of
https://codeberg.org/vlw/dotfiles.git
synced 2025-11-05 09:22:42 +01:00
Compare commits
No commits in common. "d7902bc18854df4d27760cfa68fda2e510369842" and "f0bf01386b0cb9c20eb6f35c76e6a80023feeb3e" have entirely different histories.
d7902bc188
...
f0bf01386b
2 changed files with 0 additions and 22 deletions
|
|
@ -20,22 +20,6 @@ l () {
|
|||
return
|
||||
fi
|
||||
|
||||
# Current directory is the user home directory
|
||||
if [ "$(pwd)" == "$HOME" ]; then
|
||||
# Ignore these files when running the "l" command from the home directory
|
||||
local BLACKLIST=("Makefile")
|
||||
|
||||
local pattern
|
||||
local pattern_ignore
|
||||
|
||||
for pattern in "${BLACKLIST[@]}"; do
|
||||
pattern_ignore+="-I \"$pattern\" "
|
||||
done
|
||||
|
||||
eval ls -lh $pattern_ignore
|
||||
return 0
|
||||
fi
|
||||
|
||||
ls -lh $1 || l $(dirname "$1")
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -13,9 +13,3 @@ export GPG_TTY=$(tty)
|
|||
export S="/var/www/sites"
|
||||
export V="/var/www/fw/vegvisir/"
|
||||
export R="/var/www/fw/reflect/"
|
||||
|
||||
# Add XDG Base Directory specifications
|
||||
export XDG_BIN_HOME="$HOME/.local/bin"
|
||||
export XDG_DATA_HOME="$HOME/.local/share"
|
||||
export XDG_CACHE_HOME="$HOME/.cache"
|
||||
export XDG_CONFIG_HOME="$HOME/.config"
|
||||
Loading…
Add table
Reference in a new issue