Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Create a persistent directory stack in zsh' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Create a persistent directory stack in zsh
Authored by: eater on Oct 02, '05 02:37:51PM
What is the purpose of the gsub(/s/, ' ')? To replace instances of 's' with spaces? I had to remove that to make the script work on my system.

[ Reply to This | # ]
Create a persistent directory stack in zsh
Authored by: ra5ul on May 30, '07 12:09:28PM

gsub(/\s/, '\ ')

(escape spaces). the '\'s probably got stripped out.



[ Reply to This | # ]