This has more features than parse_git_branch, though it could use a way
to display the _number_ of untracked / modified files (I'll have to see
if that's available).
I'm not including a copy of git-prompt.sh in the repo. If it's not
available in the user's home directory, I mock up a function that uses
the old parse_git_branch instead.
It looks like I went to check whether commandlog was installed a while
back and neglected to actually specify "commandlog" instead of the "foobar"
from the example I was looking at, so commandlog hasn't been running for a
couple of months.
- add zsh syntax highlighting plugin
- add more color options to prompt configuration
- tweak inertia prompt colors
- refresh prompt periodically (this may need some thought)
- add Alt-Up, Alt-Back for dir navigation
- automatically rehash to pick up new commands for completion
Use fzf to select files from changed files (including untracked) in a
working tree. Thanks to @tomasino@mastodon.sdf.org for the git subcommand
idea here - these are scripts rather than aliases, but the interface
is pretty well the same:
https://mastodon.social/@brennen/101440377610036479
Nothing drastic in this commit; just takes care of some little
inconsistencies and quibbles. Probably breaks a few files with calls to
filter utilities, but those should be easy to fix on a case-by-case basis.
I'm renaming them because there's nothing vim-specific about them.
- move a few aliases to bin/
- tags -> build-tags
- extip -> get-external-ip
- rename some utils in bin/
- vim-filter-* to filter-*
- vertical to filter-vertical
- remove some bogus stuff from bin/
- googleearth
- d (some thing i was messing around with for menus)
- pup (nice util, but should install elsewhere)
- add a bin/cheat to hang cheatsheet stuff on
- use fzf-tmux for h alias
fzf:
https://github.com/junegunn/fzf
I'm not 100% sold yet, but it's basically dmenu for the shell. Much to
recommend. Adds an improved ctrl-r.
unsorted-unique is just a wrapper around a short awk operation. I put it
in its own script because quoting things in aliases is hard.
There's probably a better way to do this, but right now it just adds a
chpwd func to .zshrc to tack dirs onto ~/.directory_history. The h alias
now uses this file instead of the dirs builtin.