Brennen Bearnes
b0d860484a
.sh_common: node.js bullshit
1 day ago
Brennen Bearnes
653ff79f74
.sh_common: KUBECONFIG var
8 months ago
Brennen Bearnes
886c548ab2
some comment cleanup
8 months ago
Brennen Bearnes
437a81bb3f
.sh_common: use global git-sh-prompt
1 year ago
Brennen Bearnes
bddc0b1da7
.sh_common: h: add an fzf preview pane for directories
Inspired by a bit of fediverse discussion today that mentioned the
preview pane.
2 years ago
Brennen Bearnes
dbd5ab5c6e
aliases: use $EDITOR for :e
2 years ago
Brennen Bearnes
e07ed8ba7d
.sh_common: add cabal path
3 years ago
Brennen Bearnes
f709ceb8c7
.sh_common: alias 'n' to 'notes'
3 years ago
Brennen Bearnes
2a20ca1f40
aliases: mk & mka should use marks
After redesigning the interface to that one a bit.
3 years ago
Brennen Bearnes
b3c786022b
shell aliases: un-alias fdfind - i have fd installed now
fd is actually pretty nice, btw.
4 years ago
Brennen Bearnes
f24d171de9
.sh_common: add extra quoting to h, b, ct, mcd
...after writing this comment describing things:
https://lobste.rs/s/nsfdaw/improving_shell_workflows_with_fzf#c_b1puho
4 years ago
Brennen Bearnes
430b9f4fe6
git prompt: show stash state
5 years ago
Brennen Bearnes
13820ca7b1
.sh_common: use .fzf/bin
5 years ago
Brennen Bearnes
f39f0da86c
.sh_common: exa: group directories first in l* aliases
5 years ago
Brennen Bearnes
e97b499c98
.sh_common: group directories first in ls aliases
5 years ago
Brennen Bearnes
ccf4e51f13
.sh_common: color ls for non-exa default aliases
5 years ago
Brennen Bearnes
3bc54796b2
.sh_common: go installs in /usr/local/go
5 years ago
Brennen Bearnes
9681878409
use git-prompt.sh in zsh
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.
5 years ago
Brennen Bearnes
14074258c8
.sh_common: remove nvim aliases
nvim is totally horked on this system at present.
5 years ago
Brennen Bearnes
b57371a58c
.sh_common: zap ls alias
5 years ago
Brennen Bearnes
0c9adc5984
merge some recent laptop / desktop discrepancies
5 years ago
Brennen Bearnes
435adfc1c2
a few tweaks from recent primary-machine-hopping
5 years ago
Brennen Bearnes
5d10bea65f
.sh_common whitespace bitching
5 years ago
Brennen Bearnes
6b4d269622
vim: re-enable gitgutter; tweaks for neovim; re-add some date keys
- tweak F7 binding for $MYVIMRC weirdness
- re-add variants of ,td and ,tD bindings because they're easy to use
for grabbing dates in logging stuff
- conditionalized clipboard config for neovim
- p1k3 now lives at ~/workspace/p1k3 by default
- back to iceberg for color scheme again I guess? I'm dissatisfied
about colorschemes.
- add rust.vim
- turn gitgutter back on
5 years ago
Brennen Bearnes
d8b72e642a
.sh_common: use l alias for default ls
(Which now means exa, if it's available.)
5 years ago
Brennen Bearnes
9d6201172c
.sh_common & todaydir: P1K3_ROOT, go & cargo roots, exa for ls
- Adds a P1K3_ROOT environment variable, and a default of
~/workspace/p1k3 (this is new)
- allows exa for ls aliases
- Tweaks h() history length a bit
6 years ago
Brennen Bearnes
e6c9b1e695
.sh_common: use /opt/go for golang
6 years ago
Brennen Bearnes
3d2cf10936
.sh_common: titlebar() function, some reorg
6 years ago
Brennen Bearnes
24fcc94f29
.sh_common: add b() for bookmarks in shell; deb stuff to separate file
`b foo` puts path to foo in ~/.directory_bookmarks. `b` by itself opens
an fzf for selecting a bookmark to jump to. intended as a companion to
h().
6 years ago
Brennen Bearnes
7ea5c17b55
.sh_common: include branch status in parse_git_branch
6 years ago
Brennen Bearnes
99a24cfe88
.sh_common: ensure ~/bin makes it into $PATH
6 years ago
Brennen Bearnes
ea7c8b67a7
zsh: add Alt-H keybinding for invoking h directory history alias
6 years ago
Brennen Bearnes
b16a8b9d3b
pull prepend_to_path into .sh_common
6 years ago
Brennen Bearnes
d8d57312d6
add an .xsessionrc that dots in .sh_common
6 years ago
Brennen Bearnes
e36ca4c86f
.sh_common: turn h into a function; improve sort; add args
The `--no-sort` option to fzf effectively gives more recent matches first,
which turns out to be what I want in almost every case.
You can now do `h foo` and foo will be populated as the query, which feels
a bit more natural at times.
6 years ago
Brennen Bearnes
5e7a8ce492
shell config: slight path cleanup
6 years ago
Brennen Bearnes
dd555f1e5f
remove rash dependencies
7 years ago
Brennen Bearnes
131677e2d2
new utils: firefox-wrapper, edit-clipboard, mcd()
firefox-wrapper: start firefox (a workaround for some $PATH nonsense).
edit-clipboard: open current contents of clipboard in $EDITOR, write them
back to clipboard. relies on xclip.
mcd(): a function to make a path and cd into it.
7 years ago
Brennen Bearnes
fc95230b05
bin/st: status stuff
7 years ago
Brennen Bearnes
22ed301d30
slightly more robust git prompt, via thcipriani
7 years ago
Brennen Bearnes
8416c41ef1
.sh_common aliases: mk and mka for mark, mark add
For use with the new mark(1) I've been sketching out lately.
7 years ago
Brennen Bearnes
8a240c3126
alias h: use 3000 directory history entries instead of 500
7 years ago
Brennen Bearnes
2ff17cf369
$PATH tweaks, readme update
7 years ago
Brennen Bearnes
88a18f531d
alias hm for menu of recent command history
8 years ago
Brennen Bearnes
92de75b8d9
move GOPATH into ~/code
...in the process of decluttering my homedir.
8 years ago
Brennen Bearnes
b8de892161
remove ack-grep alias
...looks like Debian has obsoleted this.
8 years ago
Brennen Bearnes
858d9c4604
rash, fzf --height
8 years ago
Brennen Bearnes
3d055a3796
switch from gnome-settings-daemon to xsettingsd
...seems like a more lightweight way of providing various settings to
Gtk apps (and maybe other stuff? I'm not sure).
Various other font tweaks and such in this commit.
8 years ago
Brennen Bearnes
5ba795006b
fzf for ctrl-r: default to exact matches
Seems to involve less flailing, at least for this use case.
9 years ago
Brennen Bearnes
01266b1ce7
.sh_common: ansible path nonsense
9 years ago