Comments (7)
Normally paths that don't exist anymore are not used in the ranking, so autojump should still work properly. They are still kept in the database in case they were on a removable drive, so that you will be able to use autojump with removable drives.
Is there any specific reason you want to remove these paths from the database?
from autojump.
@joel - My highest weighted path per jumpstat was /dev/shm which is where I do compiling, scratch files, etc. I recently switched it to /tmp/scratch and whenever I'd hit 'j' autojump would take me to the highest ranked path which I don't use anymore. I just nuked the ~/.local/share/autojump and rebuilt my db. Having the ability to remove a line from the history would be a cool feature.
from autojump.
I think you have a good point. I see two options here: either add an option to autojump to remove paths, which is easy but not very flexible; or switch to a text format for the autojump file. What do you think?
from autojump.
@joelthelion - agreed. I think the latter represents the most flexible and simplistic option moving forward. It's akin to the ~/.bash_history to me. Good idea.
from autojump.
I've implemented a new text format in a new branch (text_format). I haven't written the migration code yet, but you can already try it, it will simply create a new database file.
Comments welcome!
from autojump.
The code is now ready in the "text_format" branch, can you test it and tell me what you think?
from autojump.
I've merged the code into master. Been using it for a few days, and it works great. Please re-open if there is a problem.
from autojump.
Related Issues (20)
- Suggestion: cd into typed dir if available
- Unsupported shell: /bin/csh
- autojump_chpwd:4: permission denied: autojump
- Is this repo maintained? HOT 2
- update README.md
- Cant clone the git repository with the given git clone command HOT 2
- Autojump Does Not Work Inside of Bash Script HOT 1
- How to fix when I input '-' , but terminal show '_j:compadd:5: bad option: -_' HOT 1
- How did you create executable that is readable in Python? HOT 1
- possible bug when search string starts with all
- Is there any way to disable printing the jump path when jumping? HOT 3
- changing binding HOT 1
- How can I install autojump for cygwin?
- jo and jco gives errors in zsh terminal on Manjaro KDE 5
- zsh: command not found J - Mint Cinnamon HOT 2
- Error when Python 2 is not installed. HOT 3
- "string not in pwd" error on Mac
- Initialization warning: plugin 'autojump' not found
- alpine bug :Unsupported shell: /bin/ash
- Does autojump support MacOS M1 chips 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 autojump.