Make ls look for .hidden file
This commit is contained in:
parent
54845fc0c8
commit
d1c86ea041
10
dot_bash_alias.sh
Normal file
10
dot_bash_alias.sh
Normal file
@ -0,0 +1,10 @@
|
||||
function ls() {
|
||||
if [[ -f .hidden ]]; then
|
||||
exa --icons --long --ignore-glob="$(cat .hidden | tr '\n' '|')"
|
||||
else
|
||||
exa --icons --long
|
||||
fi
|
||||
}
|
||||
alias grep="ugrep"
|
||||
alias cd="z"
|
||||
alias cat="bat -p"
|
5
dot_bash_setup.sh
Normal file
5
dot_bash_setup.sh
Normal file
@ -0,0 +1,5 @@
|
||||
# Initialize zoxide
|
||||
eval "$(zoxide init bash)"
|
||||
|
||||
# Add JetBrains scripts to path
|
||||
export PATH="$PATH:/home/isaac/.local/share/JetBrains/Toolbox/scripts"
|
Loading…
Reference in New Issue
Block a user