Marc Cornellà
407be8f036
feat(dirhistory): preserve forward directories with `cde` alias ( #9328 )
...
Closes #11954
Co-authored-by: Jeff Williams <jeffsmessages@gmail.com>
1 year ago
Marc Cornellà
068299685c
fix(dirhistory): support iTerm2 natural text key bindings ( #11026 )
...
Fixes #11026
Fixes #11407
1 year ago
Kristijan
85d60d489c
feat(dirhistory): add support for ghostty ( #12868 )
1 year ago
Erin Schlarb
18c837b136
fix(dirhistory): run properly if `ksh_arrays` is set ( #11630 )
3 years ago
Marc Cornellà
e9bc107ad5
fix(dirhistory): define key bindings for vi mode ( #10450 )
...
Fixes #10450
4 years ago
Marc Cornellà
7d03ea18ed
fix: declare variables as global when using `typeset`
...
Fixes fb86ec77
4 years ago
Marc Cornellà
fb86ec7749
style: use `typeset` for dynamic variable names
4 years ago
Marc Cornellà
2c06852546
style(dirhistory): remove use of `eval` completely
4 years ago
Marc Cornellà
06fc5fb129
fix(dirhistory): fix unsafe eval bug in back and forward widgets
...
The plugin unsafely processes directory paths in pop_past and pop_future.
This commit fixes that.
4 years ago
Marc Cornellà
1448d234d6
fix(dirhistory): fix Up/Down key bindings for Terminal.app
...
Reference: https://github.com/ohmyzsh/ohmyzsh/commit/7f49494#commitcomment-60117011
4 years ago
Michael Peick
79cf4b3ceb
feat(dirhistory): support urxvt terminal key binding ( #8370 )
...
Closes #8370
4 years ago
Marc Cornellà
7f494944e6
fix(dirhistory): fix ALT+Up/Down key bindings for Terminal.app
4 years ago
Marc Cornellà
49458b872d
docs(dirhistory): document OPT key alternative for macOS and fix style
...
Fixes #10350
4 years ago
Marc Cornellà
11e22ed0b5
docs(dirhistory): document keyboard shortcut conflict with Windows Terminal
...
Related: https://github.com/ohmyzsh/ohmyzsh/issues/8505#issuecomment-886241162
5 years ago
Marc Cornellà
308b2314f8
fix(dirhistory): fix ALT+Left/Right key bindings for iTerm2 ( #9940 )
5 years ago
rhuitl
7ab15bee03
feat(dirhistory): add ALT+UP/DOWN key bindings for iTerm2 ( #8502 )
5 years ago
Stéphane Caron
2d40b562e5
fix(dirhistory): make sure to call built-in zle widgets ( #9771 )
...
Without this patch, if the called zle widgets have been redefined this plugin might come into
conflict. Related: #9770 .
5 years ago
Marc Cornellà
610b2529d2
Clean up plugin READMEs and a few plugins
...
- fasd
- history
- mercurial
- pylint
- repo
- yii2
6 years ago
Jacob Tomaw
1ba0af650a
Use safer append to hook function arrays ( #8406 )
...
Use add-zsh-hook to add functions to hooks. That way they won't be added again
when doing `source ~/.zshrc` multiple times.
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
6 years ago
MasterOfTheTiger
228d7d1041
dirhistory: add README ( #7239 )
8 years ago
Giuseppe Landolfi
8ebf2a6785
Fine-tune dirhistory plugin mappings for Mac ( #6580 )
...
See https://github.com/robbyrussell/oh-my-zsh/pull/6533#issuecomment-360878060
8 years ago
Francisco Zuviría
18f7ca577a
Adhere to coding style outlined in wiki
8 years ago
Francisco Zuviría
7bb7ce62d3
On branch fzuviria.plugin.dirhistory.new-feature.navigate-history
...
Changes to be committed:
modified: dirhistory/dirhistory.plugin.zsh
New Feature:
Navigate directory hierarchy using ALT-UP and ALT-DOWN. (mac keybindings not yet implemented)
ALT-UP moves to higher hierarchy (cd ..)
ALT-DOWN moves into the first directory found in alphabetical order
8 years ago
Giuseppe Landolfi
215e43aa8a
Add support for Mac to dirhistory plugin ( #6533 )
...
Add shortcuts for mac keyboards as an alternative to alt+left
abd alt+right: mac users can now use opt+left and opt+right.
8 years ago
xiao.fan
cddfc3b038
style fixes
11 years ago
xiao
084792b829
Don't clobber chpwd
11 years ago
Marc Cornellà
4310a15de5
Change all pwd calls for $PWD variable
...
This avoids spawning additional processes as $PWD **always** contains
the current working directory.
12 years ago
Jeff Williams
c0b98cd6ac
Added dirhistory plugin.
...
This plugin navigates directory history using ALT-LEFT and ALT-RIGHT.
12 years ago