This reverts commit b609aa0e6c -- this commit
was a bad idea, because it makes vi-mode very difficult to use. The default
`bindkey` keybindings are NOT MEANT to coexist with `bindkey -v` Vi mode;
that's why `bindkey -v` clears them in the first place! Restoring all of the
default keybindings after enabling Vi mode, the way the reverted commit did,
causes many collisions between those default keybindings that begin with ESC
and the command-mode-initiating ESC of Vi mode. See Issue 1438 of
robbyrussell/oh-my-zsh. If people have custom keybindings, they should create
them in their ~/.zshrc AFTER enabling the vi-mode plugin and sourcing
oh-my-zsh.sh.
# Please enter the commit message for your changes. Lines starting
# with '#' will be ignored, and an empty message aborts the commit.
# On branch master
# Changes to be committed:
# (use "git reset HEAD <file>..." to unstage)
#
# modified: plugins/vi-mode/vi-mode.plugin.zsh
#
The in memory history is not updated until an accept line command, so you
have to push enter before it is correct, this commit replaces the reset-prompt
with an accept-line. It also adds a push-line, to preserve the current editing
buffer
Behave more like lib/git.zsh.
Set `SVN_SHOW_BRANCH="true"` to display branch/tag or trunk instead of just repo name.
Falls back to repo name if branch information is not available.
Idea and awk call from revans/bash-it/themes/base.theme.bash
Keeps track of the last changed directory. When a new shell is created,
the last directory will be restored. Mimics how tabs works in many
terminal emulators.
* upstream/master: (35 commits)
make README reflect latest changes
URL Tools Plugin
added a comment to the composer installation alias
added Composer completition and aliases
added two aliases to Symfony2 Plugin
fix test aliases
Missing comment line
look for test/unit instead of test/units. #typo
Correct error message.
Clean up doc
Jira ticket shortcut to browse existing issues or create a new issue.
Add zeus plugin
Make rvm prompt function a bit cleaner
Fixing the rvm_prompt_info command, now it will not show empty parens if no rvm is currently being used
Add link to gist
Updated documentation for agnoster theme
Use HISTFILE evironment variable directly rather than copying it
added autojump plugin support for mac os x + port
Colemak plugin
Per directory history plugin
...
* Added urlencode -- alias to encode URLs from the command line using Python
* Added urldecode -- alias to decode URLs from the command line using Python
If you manually install autojump as advised by the autojump README by running
the install.sh script, it will install by default to $HOME/.autojump.
Add an extra case in the zsh autojump plugin to find the new file and stop a
syntax error in the else clause every time a new zsh starts (running brew when
brew does not exist).
Use the HISTFILE environment variable in place of copying it to
_per_directory_history_global so that users can change the environment variable
after sourcing per-directory-history and have the global variable set correctly
a plugin for useing the colemak[1] keyboard layout and vi-mode in zsh, rotates
some keys around in vi command mode so that the physical hjkl keys are still
used for movement, all the rotated keys are either in colemak's location or
qwerty's location, so it is easy to pick up
[1] www.colemak.com
This is a implementation of per directory history for zsh, some
implementations of which exist in bash[1,2]. It also implements
a per-directory-history-toggle-history function to change from using the
directory history to using the global history. In both cases the history is
always saved to both the global history and the directory history, so the
toggle state will not effect the saved histories. Being able to switch
between global and directory histories on the fly is a novel feature as far
as I am aware.
[1]: http://www.compbiome.com/2010/07/bash-per-directory-bash-history.html
[2]: http://dieter.plaetinck.be/per_directory_bash
the vi-mode plugin destroys any bindings made before it is sourced due to the
'bindkey -v' call to switch to using vi-mode. This patch saves the bindings
before invoking 'bindkey -v' then rebinds them afterwards, this fixes a number
of outstanding issues due to people using vi-mode and having things in oh-my-zsh
break due to the bindings being destroyed
The debian plugin calls which to determine whether aptitude & sudo are
installed. However, if these are not installed then the error output
from which will be output. Since this isn't really an error condition,
this commit updates the which calls to pipe stderr to stdout, thus
hiding the error messages.
Evaluates $(rbfu --init --auto) if rbfu is installed on the system,
also has a custom rbfu-rubies method which lists the installed
rubies which are available to rbfu.
For compatibility with themes, also creates the rvm_prompt_info
function, so existing themes should work out of the box.