mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-26 01:33:40 +01:00
Merge pull request #3479 from faceleg/patch-1
Removing 'local' usage to prevent issue when installed with antigen
This commit is contained in:
commit
52177162f7
@ -5,7 +5,7 @@
|
|||||||
# Flag indicating if we've previously jumped to last directory.
|
# Flag indicating if we've previously jumped to last directory.
|
||||||
typeset -g ZSH_LAST_WORKING_DIRECTORY
|
typeset -g ZSH_LAST_WORKING_DIRECTORY
|
||||||
mkdir -p $ZSH_CACHE_DIR
|
mkdir -p $ZSH_CACHE_DIR
|
||||||
local cache_file="$ZSH_CACHE_DIR/last-working-dir"
|
cache_file="$ZSH_CACHE_DIR/last-working-dir"
|
||||||
|
|
||||||
# Updates the last directory once directory is changed.
|
# Updates the last directory once directory is changed.
|
||||||
function chpwd() {
|
function chpwd() {
|
||||||
|
Loading…
Reference in New Issue
Block a user