oh-my-bash
oh-my-bash copied to clipboard
Aliases in directories.sh not overridable
Hello!
I've my own ll
command / alias and want to use it. I tried to override it with a own file in custom/aliases/custom.aliases.sh
because the example file said this would be possible. But sadly.. No effect.. To be 100% sure the new files are loaded, I restarted the whole bash (logout and reconnect).
Expected Behavior:
alias ll='exa -lFaBgh --group-directories-first --time-style long-iso --git'
Current Behavior
which
-> alias ls='ls --color=auto'
type
-> ll is aliased to 'ls -lh'
Is this a bug or intended?
Edit: After moving the file in the root of custom it works
I tried to override it with a own file in
custom/aliases/custom.aliases.sh
because the example file said this would be possible.
Have you added the entry "custom
" in the array aliases
in .bashrc
? An aliases
file in $OSH_CUSTOM/aliases
is supposed to be sourced when it is added to the array aliases
.
No. Didn't knew that. Thanks! But I guess I'll let the file in the custom root.