Comments (3)
I don't think I get it. You mean that you want to have a list of recent directories to cycle through?
from jsh.
See issue #34:
Quote:
Normally, cd -
gets you in the previous directory.
Expected behaviour:
$ pwd
/etc/apt
$ cd /mnt/Data
$ pwd
/mnt/Data
$ cd -
$ pwd
/etc/apt
Actual behaviour:
$ pwd
/etc/apt
$ cd /mnt/Data
$ pwd
/mnt/Data
$ cd -
[DEBUG: You entered: 'cd -']
[DEBUG: readcmd: cmd 'cd -' expanded to 'cd -']
[DEBUG: alias: input resolved to: 'cd -']
jsh: cd: No such file or directory
[DEBUG: built-in: executed 'cd']
[DEBUG: freeing comd struct for 'cd']
[DEBUG: parseexpr: expr evaluated with return value 1]
[DEBUG: readcmd: freeing memory for: 'cd']
$ pwd
/mnt/Data
from jsh.
See issue #51 for further discussion
from jsh.
Related Issues (20)
- --fun-mode flag for, well, fun HOT 7
- cd autocompletion: we must go deeper. HOT 1
- cd (autocompletion) feature requests
- Piping built_ins may fill up a pipe buffer
- Segmentation fault: shcat built_in HOT 4
- Mac OS X compile issues HOT 8
- Create a dialog-based installer HOT 4
- Create a bitcoin address for donations. HOT 1
- Create an uninstall script for jsh. HOT 1
- The build button should be clickable, and refer to a log to indicate what went wrong exactly. HOT 1
- FreeBSD support HOT 2
- installer.sh should be executable after cloning the repo HOT 1
- Support bash-like alias syntax HOT 1
- jsh 1.2.0 mac build HOT 3
- flag to exit with non zero return value on error
- installing as default shell with installer.sh
- Proper signal handling when forking childs
- jsh 2.0 from the ground up
- Fedora readline broken HOT 1
- graphical dialog completion after error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jsh.