fix mcd
This commit is contained in:
parent
583b9ff6f7
commit
4b353e47be
@ -48,3 +48,6 @@ bindkey -M menuselect '^e' undo
|
|||||||
bindkey -M menuselect '^[' cancel
|
bindkey -M menuselect '^[' cancel
|
||||||
bindkey -M menuselect '^M' check-command
|
bindkey -M menuselect '^M' check-command
|
||||||
bindkey -M menuselect '^I' accept-and-infer-next-history
|
bindkey -M menuselect '^I' accept-and-infer-next-history
|
||||||
|
|
||||||
|
|
||||||
|
compdef _directories mcd
|
||||||
|
|||||||
@ -96,7 +96,7 @@ cleanup-directory() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
cleanup-downloads() {
|
cleanup-downloads() {
|
||||||
local -r downloads_directory="${HOME}/downloads"
|
local -r downloads_directory="${XDG_DOWNLOAD_DIR}"
|
||||||
local -r log_file="${downloads_directory}/cleanup.log"
|
local -r log_file="${downloads_directory}/cleanup.log"
|
||||||
|
|
||||||
touch "${log_file}"
|
touch "${log_file}"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user