39
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 03 Nov 2023
39 points (100.0% liked)
Programming
10 readers
1 users here now
All things programming and coding related. Subcommunity of Technology.
This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.
founded 1 year ago
MODERATORS
Actually cd isnt a program. Your present working directory is managed entirely by the shell. If you type "type cat" in the terminal it will tell you its a program, but "type cd" says its a shell builtin. So yes, cd depends on the shell and zsh has some awesome quality of life features. This is not something you can do in bash.
I totally forgot! Makes sense that the implementation is shell-specific.