Commit graph

190 commits

Author SHA1 Message Date
Danielle McLean 8a2fdbb3e8
Adjust ponysay wrap width to make use of available screen space :) 2016-10-25 14:54:49 +11:00
Danielle McLean 288811fefa
https alias for convenient HTTPie over TLS 2016-10-25 14:54:09 +11:00
Danielle McLean 6f8047bc7a Slightly more reliable XDG_RUNTIME_DIR cleanup, still a little worrying 2016-10-23 15:04:40 +11:00
Danielle McLean 30afa33f4e Disable cowsay's wrapping when using it to show a quote 2016-10-23 15:03:53 +11:00
Danielle McLean f43d8a36fa
Clean up XDG_RUNTIME_DIR on last logout 2016-10-23 14:48:29 +11:00
Danielle McLean 735d3dac4d
Properly handle zsh init when $TMPDIR and/or $USER aren't available in the environment 2016-10-22 21:39:28 +11:00
Danielle McLean f3324c1c8c
Disable alias-tips, too big a performance hit on the Pi 2016-10-22 21:34:15 +11:00
Danielle McLean 7c65341704
Colourify command options when doing completion 2016-10-22 21:32:54 +11:00
Danielle McLean ea4bacbb57
Actually create XDG_RUNTIME_DIR when the variable is set in zshenv 2016-10-22 21:12:09 +11:00
Danielle McLean 5ce16ad385
Minor cleanup of alias definitions 2016-10-20 17:25:18 +11:00
Danielle McLean bb1b81eae6
Fancy set of zstyles for completion, looking very nice now :O 2016-10-20 17:24:59 +11:00
Danielle McLean ea227dbae9
Tidy up Zsh plugin list and add a couple more 2016-10-20 11:50:06 +11:00
Danielle McLean 8833894671
Reliably set up environment to be inherited by non-login shells, including FPATH 2016-10-20 11:49:13 +11:00
Danielle McLean 109ca827b4
Fallbacks for the fortune display on logging in: just bail if fortune isn't available, and try alternatives if ponysay isn't available 2016-10-20 09:36:02 +11:00
Danielle McLean c8f970cc1a
Add a simple widget on Ctrl-G for fzfing my frecently used directories from z 2016-10-20 09:22:00 +11:00
Danielle McLean 53e8606b27
Fall back on the normal history-incremental-search-backward widget if fzf is not available 2016-10-20 09:21:27 +11:00
Danielle McLean 48936c6915
Reduce startup time a teeny bit more by compiling the zcompdump file in the background 2016-10-20 09:12:53 +11:00
Danielle McLean 7ccb1a7790
Switch from zplug/zplug to psprint/zplugin, startup time reduced by about ⅔ :o 2016-10-20 02:12:35 +11:00
Danielle McLean 20b3e0ff25
Remove the iterm2 symlink - I'm going to do this more reliably in a separate package, 00dani/dot-mac 2016-10-17 20:50:00 +11:00
Danielle McLean cb3e866d97
Move zplug's home underneath the general zsh cache dir 2016-10-17 20:49:26 +11:00
Danielle McLean 38eb2c7b6f
Smarter default umask, use 002 on systems that support UPG 2016-10-17 19:50:29 +11:00
Danielle McLean 8380453058
.stow-no-folding file to make sure zsh history doesn't get gobbled into a Stow package 2016-10-08 12:15:45 +11:00
Danielle McLean 141e5de8ce
Set umask to 022 if it's not set already 2016-10-08 01:38:34 +11:00
Danielle McLean d35dcd9699 Fixes so that the login shell bits work properly on Ubuntu 2016-10-08 00:27:15 +11:00
Danielle McLean 68d5f293cf
Using stow-rename, unhide all the files :3 2016-10-07 23:13:58 +11:00
Danielle McLean 5c13c69a84
Load a meaningless zle-line-init early so we won't ever get warnings about it being missing 2016-10-07 09:54:42 +11:00
Danielle McLean 3d5a5260cf
Reliably choose XDG_RUNTIME_DIR by putting the username in its path 2016-10-06 12:46:17 +11:00
Danielle McLean b2f5ca7a50
Move quotes file into XDG_CACHE_HOME 2016-10-06 11:26:25 +11:00
Danielle McLean 96a86f001d
Basic default for XDG_RUNTIME_DIR setting 2016-10-06 11:26:12 +11:00
Danielle McLean 8c086193e6 Move zplug into $XDG_CACHE_HOME (everything it stores can be refetched)
The only exception is that ZPLUG_LOADFILE, which by default lives in
ZPLUG_HOME, is a configuration file. I don't use it yet but might soon;
fortunately it can be reconfigured to live somewhere else such as in
$XDG_CONFIG_HOME.
2016-10-06 09:41:22 +11:00
Danielle McLean 1cb0d74a1e Move rupa/z state file into $XDG_DATA_HOME instead of ~ 2016-10-06 09:27:18 +11:00
Danielle McLean 8273e0ce15 Migrate zsh config to XDG base dir location
.zshenv still needs to live in ~ for bootstrapping, but everything else
is now squirrelled away in ~/.config/zsh instead.

Note that zplug still lives in ~/.zplug - it should be relocated too but
hasn't been yet.
2016-10-06 09:21:16 +11:00
Danielle McLean d497345c6d
Add support for .stow-no-fold 2016-10-04 12:33:27 +11:00
Danielle McLean 9e180acee1
Enable shared history and a few other options I like 2016-10-04 01:04:50 +11:00
Danielle McLean 82c930f4d5
Migrate everything to GNU Stow locations instead of homeshick 2016-10-03 22:52:15 +11:00
Danielle McLean 54587a49ff
No need to add homeshick to fpath twice 2016-10-03 15:45:09 +11:00
Danielle McLean 75bfbb6e90
Add an accidentally untracked new file 2016-10-02 19:15:04 +11:00
Danielle McLean 2a042c031b
Restore some nice keybindings from my previous repo 2016-10-02 19:14:12 +11:00
Danielle McLean b825210c29
Better resilience to missing components, have zplug handle loading of ~/.zsh/interactive scripts 2016-10-02 19:13:42 +11:00
Danielle McLean df6164e3aa
Initial commit, modular zsh config easy to extend with extra behaviours 2016-10-02 18:17:25 +11:00