Commit graph

64 commits

Author SHA1 Message Date
lhark
9ecb18e93f [zshrc] Add ~/.cargo/bin to PATH for localy installed crates 2018-03-19 14:51:13 -04:00
lhark
83f91a5034 [zshrc] Switch to builtin vcs_info for the git prompt. Move aliases and prompt to new file
Instead of using hand crafted parsing to get the current git state, we
use the existing vcs_info module, augmented by a few hooks to preserve
previous prompt functionality.

The prompt now also display the vi mode of ZLE on the left of the
username : [I] for insert mode, [N] for normal mode.

A lot of the inspiration for this refactor came from
https://github.com/frioux/dotfiles
For example the tweaks to the keybindings and completion.
2018-02-26 03:18:40 -05:00
lhark
36d5920e5e [zshrc] Set default WINEPREFIX 2018-02-26 03:17:54 -05:00
lhark
28bad78db0 [zshrc] Fix bug with running command containing '%' 2018-02-26 03:16:54 -05:00
lhark
59250b2cfe Clean up zshrc comments 2017-10-19 02:44:57 -04:00
lhark
cd310ccd25 Fix LD_PRELOAD for zbarcam on archlinux 2017-10-19 01:11:20 -04:00
lhark
f06a76e3ea Fix $WINEPREFIX in steam-wine alias 2017-10-19 01:10:47 -04:00
lhark
14fb9c1b84 Android env variables, ytmp3 alias 2017-09-11 13:10:59 -04:00
lhark
001fe2016d Add exit status to prompt & Remove useless zsh options 2017-07-25 00:56:54 -04:00
lhark
69bb3ad34f Add surftor alias 2017-06-17 06:34:38 +02:00
lhark
b5eaf95863 Add cuda variables 2017-03-14 10:36:21 -04:00
lhark
384cbfeb3b Clean up code and improve readability 2016-10-27 03:51:43 -04:00
lhark
12691112e5 shell code cleanup using shellcheck 2016-10-22 01:10:25 -04:00
lhark
dd98a17e7c Fix prompt creation bug & cleaned up prompt code 2016-10-11 00:44:21 -04:00
lhark
68984ff8c1 Improved rc self update and added sys update watch 2016-10-10 21:54:42 -04:00
lhark
b0252a3fd8 Prevent wine from associating itself with common filetypes 2016-10-10 02:41:47 -04:00
lhark
a32570e3c1 Add steam alias for archlinux 2016-08-13 19:24:44 +02:00
lhark
ea2e6244ac Make zsh prompt readable on non solarized light background 2016-07-19 00:35:22 +02:00
lhark
042334b530 Fix autoupdate directory change problem 2016-06-30 01:57:34 +02:00
lhark
47d0e62b3a Fix script call 2016-06-28 04:32:19 +02:00
lhark
71cd6a7691 Remove deprecated option 2016-06-28 04:28:00 +02:00
lhark
99a687a315 Gitconfig user template autofill and automatic checkinstall 2016-06-28 04:22:35 +02:00
lhark
5d8f841811 Remove useless stderr 2016-05-14 18:50:57 +02:00
lhark
9e722a145b Remove useless stdout 2016-05-14 18:48:05 +02:00
lhark
c5e645069c Fix auto-update cd stack 2016-05-14 18:45:54 +02:00
lhark
b3ff509568 Switch to ROS indigo 2016-05-14 18:28:56 +02:00
lhark
c163a0592d Update hostname colors 2016-04-29 20:17:46 +02:00
lhark
d1114305a5 Add current command to window title 2016-04-29 21:44:22 +02:00
lhark
0e13b1bc44 Update term window title 2016-04-28 22:45:30 +02:00
lhark
52a282fdb6 Clean up zsh aliases and add git aliases to gitconfig 2016-04-12 23:12:17 +00:00
lhark
49ec5447e2 Set correct working dir after auto update 2016-03-30 15:30:10 +00:00
lhark
6544629f18 Resolve conflicting aliases 2016-03-30 15:27:36 +00:00
lhark
3873b18875 Fix broken ssh on old zsh versions with st 2016-03-30 15:23:21 +00:00
lhark
a3902656e1 dwm recompile alias 2016-03-17 15:58:53 +01:00
lhark
8db34ebfee Fix post update exit 2015-12-17 15:02:08 +01:00
lhark
42d55f9d6c Automatic zshrc reloading after update 2015-12-07 18:00:33 +01:00
lhark
4056bb6789 Fix prompt not refreshing 2015-11-30 22:08:13 +01:00
lhark
d5226b370c Clean and comment prompt definition 2015-11-24 21:33:49 +01:00
lhark
3028cde718 Fix Shift-Tab completion problem 2015-11-24 18:58:10 +01:00
lhark
2b3aac93bc Fix rc path for real 2015-11-09 14:57:47 +01:00
lhark
a094247c9a Fix path and linking issues 2015-11-08 19:09:05 +01:00
lhark
dbcbc248aa Add command line highlighting plugin 2015-11-07 18:08:13 +01:00
lhark
dfd0ed721b Re-enable autocompletion options 2015-11-07 18:07:29 +01:00
lhark
203b157de8 Increase command history size 2015-11-07 18:06:45 +01:00
lhark
a93b654f31 Fix prompt background 2015-11-07 18:06:08 +01:00
lhark
9de23177c9 Add space 2015-11-07 18:05:17 +01:00
lhark
86f0e3012a typo 2015-11-07 18:03:36 +01:00
lhark
3e934335e8 improve man color 2015-10-22 11:59:01 +02:00
lhark
e3125d4178 Fix delete key 2015-10-22 11:58:49 +02:00
lhark
2f24f2e275 Minecraft launcher alias 2015-10-10 14:54:22 +02:00