Commit graph

253 commits

Author SHA1 Message Date
Henrik Lissner b22566e476 Fix alias & cleanup 2015-01-21 15:16:01 -05:00
Henrik Lissner c61b2167d6 Clean up zsh/bash rcfiles 2015-01-20 03:09:21 -05:00
Henrik Lissner c216de9b26 Cleanup; fix alt keybinds + unsetopt correct_all 2015-01-16 15:25:18 -05:00
Henrik Lissner 83863f0d34 Fix (forward|backward)-word keybinds & unsetopt correct_all 2015-01-16 15:24:28 -05:00
Henrik Lissner af8c2da93b Add nodejs rakefile and doing completion 2015-01-14 13:26:23 -05:00
Henrik Lissner ffb79ffa3a Move PWD on prompt to right side 2015-01-09 21:50:13 -05:00
Henrik Lissner fed0cf9724 zsh: autoload zmv 2014-12-07 15:14:48 -05:00
Henrik Lissner d4ad151937 Redo zsh bindings 2014-12-07 15:14:27 -05:00
Henrik Lissner fbe6e5f3e2 Add ~p as a shortcut to ~/Dropbox/projects 2014-10-09 18:31:34 -04:00
Henrik Lissner f451f1be1f Refactor zsh-git integration 2014-09-22 12:06:02 -04:00
Henrik Lissner f4284a0bd5 Load git module 2014-09-21 10:20:42 -04:00
Henrik Lissner 8fd90256b5 Use $/# prompt (searchable) 2014-09-21 10:17:17 -04:00
Henrik Lissner 2965548549 Refactor zsh rcfiles 2014-09-20 16:38:40 -04:00
Henrik Lissner 5293d3ebe6 Move (rb|py)env and go init to zprofile 2014-09-08 12:11:38 -04:00
Henrik Lissner 9f1e1646df Fix ls alias color in stdout 2014-09-05 17:34:59 -04:00
Henrik Lissner faa745c384 Zsh: add buffer word completion 2014-09-05 16:55:50 -04:00
Henrik Lissner 62a6fd9cea Zsh: refactor rcfile functions 2014-09-05 16:54:15 -04:00
Henrik Lissner b57fac5abf Don't use homebrew to install {rb,py}env 2014-09-01 10:57:11 -04:00
Henrik Lissner 88e195312a Remove newline on prompt 2014-08-31 02:50:35 -04:00
Henrik Lissner cc4fd39a14 Cleanup 2014-08-27 09:28:46 -04:00
Henrik Lissner b7dbaef981 Fix dumb terminal and irssi nickpane 2014-08-25 23:20:39 -04:00
Henrik Lissner d26404a58b Add bundle exec and codekit aliases 2014-08-24 06:31:58 -04:00
Henrik Lissner 1e8dc06f55 Add fasd-complete keybindings 2014-08-24 06:31:37 -04:00
Henrik Lissner 0b69a7cfe3 Rewrote zsh rcfiles 2014-08-21 03:28:28 -04:00
Henrik Lissner 4d5d851bff Redo aliases 2014-08-21 03:27:32 -04:00
Henrik Lissner 26cc7e3d8d Tmux: remove unused keybinds 2014-08-21 03:24:55 -04:00
Henrik Lissner 6caabfe345 Tmux settings 2014-08-13 01:19:03 -04:00
Henrik Lissner 496acea9bd Set correct_all (fixes environment module) 2014-08-07 18:32:16 -04:00
Henrik Lissner 93e13b4d5b Clean up aliases 2014-08-07 18:31:47 -04:00
Henrik Lissner 39ef31cfcf Zsh: Show hostname if SSH session 2014-07-30 01:04:54 -04:00
Henrik Lissner da2f96d3da Remove ssh module (auto-disabled in OSX anyway) 2014-07-30 01:04:39 -04:00
Henrik Lissner eb165e55fc Add git-undo-commit alias 2014-07-29 19:03:03 -04:00
Henrik Lissner 425702a23b Use prezto instead of oh-my-zsh 2014-07-29 05:24:29 -04:00
Henrik Lissner 1f6ee00a75 ZSH: Don't invoke vi-mode in emacs shell 2014-07-21 03:08:01 -04:00
Henrik Lissner c1d7982c61 Short function syntax 2014-07-21 03:07:34 -04:00
Henrik Lissner 99f41d9586 Clean up aliases 2014-07-18 18:57:25 -04:00
Henrik Lissner 3ee252333b Remove redundant aliases 2014-07-18 18:57:05 -04:00
Henrik Lissner 6e53e16da9 Noglob git + emacsclient alias 2014-07-17 08:24:43 -04:00
Henrik Lissner 8a4947dd9c Zsh rewrite: better completion + vi mode 2014-07-17 04:26:38 -04:00
Henrik Lissner 98e38ef5e7 alias git='noglob git' 2014-07-07 18:22:15 -04:00
Henrik Lissner 3fb945becb New aliases 2014-07-01 02:17:16 -04:00
Henrik Lissner d34a4cca0f Disable oh-my-zsh auto update prompt 2014-06-18 23:44:18 -04:00
Henrik Lissner 867e643b5e Noglob rake and alias rg => g 2014-06-18 23:44:07 -04:00
Henrik Lissner 955dda903c Add global rake alias 2014-06-17 22:27:42 -04:00
Henrik Lissner 925d13a8db Clean up aliases
I removed the shortcuts for ruby/python. rb and py are now
aliases for rbenv and pyenv.
2014-04-11 03:30:35 -04:00
Henrik Lissner 9af324fe3a Add rbenv/pyenv local version to prompt 2014-04-11 03:29:57 -04:00
Henrik Lissner 91ebf6e21f Clean up zsh rcfiles + add py|rbenv init
* Made PATH initializing smarter
* zsh rcfiles are no longer fired twice (thanks to zshenv)
* Introduced speculative rb|pyenv support
* General cleanup all around
2014-03-29 17:56:33 -04:00
Henrik Lissner f1fb79e9d3 Set up for rbenv & chef 2014-03-28 02:51:56 -04:00
Henrik Lissner 1b67c692c1 Add hostname-specific scripts and ruby version of prowl-rss 2014-03-27 05:02:52 -04:00
Henrik Lissner 44358c5dac Clean up aliases 2014-03-17 17:25:17 -04:00
Henrik Lissner f0fb633924 Implement basic title search check 2014-02-07 00:53:48 -05:00
Henrik Lissner 67059c6f32 Update hostname for bt alias 2013-12-20 14:32:29 -05:00
Henrik Lissner 9938a3fae7 Fewer file checks for PATH settings 2013-12-19 09:51:00 -05:00
Henrik Lissner 717335aa34 Smaller histsize 2013-12-19 09:50:45 -05:00
Henrik Lissner de43fd6feb Back to $ prompt 2013-12-19 09:50:27 -05:00
Henrik Lissner 6a05fdf6ca Combine alias files 2013-12-19 09:48:28 -05:00
Henrik Lissner ebd1b2a332 Red prompt 2013-12-17 20:03:10 -05:00
Henrik Lissner a4f6f2d675 Hardcode path of brew into zsh/paths 2013-12-17 20:03:03 -05:00
Henrik Lissner ae941e03de Minimalized prompt 2013-12-17 05:42:44 -05:00
Henrik Lissner 4f2b78d16f Fix mvim alias 2013-12-17 05:42:35 -05:00
Henrik Lissner ac5b6e18c1 Mention oh-my-zsh's git script, for vim gf'ing 2013-12-17 05:42:27 -05:00
Henrik Lissner 926037ff99 Add transmission-remote aliases 2013-12-04 15:45:24 -05:00
Henrik Lissner 624ad9cade Restore ^r in zsh 2013-12-02 13:24:36 -05:00
Henrik Lissner c744944779 Fix color coding in output funcs (again) 2013-11-30 13:05:58 -05:00
Henrik Lissner e43d3137cd Fix color coding in output funcs 2013-11-30 13:02:12 -05:00
Henrik Lissner 0139aca43b Restore output functions 2013-11-30 13:00:18 -05:00
Henrik Lissner e37b878ef1 Put all functions into zsh/function 2013-11-30 12:50:35 -05:00
Henrik Lissner ce1fe9c8c8 Add --remote flag to v (mvim) alias 2013-11-28 11:46:28 -05:00
Henrik Lissner da34412d3f Move keep_alive and command_exists from lib/util 2013-10-26 11:50:40 -04:00
Henrik Lissner 72196c4df0 Remove placeholder functions. Add cdf() and quicklook() 2013-10-26 11:50:05 -04:00
Henrik Lissner 3f8e3c28b3 Clean up functions loader and util functions 2013-10-26 11:49:34 -04:00
Henrik Lissner eee9efe870 Separate linux/mac aliases & add functions 2013-10-26 11:49:13 -04:00
Henrik Lissner fcbb5763fd Alias clean up 2013-10-26 11:46:06 -04:00
Henrik Lissner ac2f5393ff Truncate .local on mac SSH sessions 2013-10-26 04:21:55 -04:00
Henrik Lissner b4ec38440f Standardize function definitions 2013-10-21 06:46:16 -04:00
Henrik Lissner 90146de46c Add app_exists 2013-10-21 06:45:56 -04:00
Henrik Lissner 98df26645a Shorten source paths 2013-10-21 04:17:49 -04:00
Henrik Lissner ccd1a8c740 Add keep_alive func 2013-10-21 04:17:36 -04:00
Henrik Lissner 2bc913011f Add repl func and clean up 2013-10-21 04:17:28 -04:00
Henrik Lissner 2592dba566 Add agr search-replace func 2013-10-20 18:53:50 -04:00
Henrik Lissner fc21785264 Check if homebrew is installed before making functions for it 2013-10-18 09:53:01 -04:00
Henrik Lissner 1518bf3612 Remove invalid identifiers for bash<v3 2013-10-18 07:03:28 -04:00
Henrik Lissner d690aa2372 Fix invalid function name bug 2013-10-18 06:40:12 -04:00
Henrik Lissner 95c1527968 Rename extract() -> unpack() 2013-10-17 01:35:25 -04:00
Henrik Lissner b1ec241cac Modularize & clean up aliases 2013-10-17 01:35:11 -04:00
Henrik Lissner 8e61683974 Add brew alias 2013-10-01 18:02:32 -04:00
Henrik Lissner 427a03856f Fix ssh hostname autocomplete for zsh 2013-08-17 04:33:12 -04:00
Henrik Lissner 6e87838782 Restore delete key in ins mode 2013-08-04 05:14:37 -04:00
Henrik Lissner a8dc0651f3 Add zsh completion 2013-08-04 05:06:05 -04:00
Henrik Lissner 8d0e09731d Cleanup vi-mode config 2013-08-04 05:04:37 -04:00
Henrik Lissner 1571905736 Rely on oh-my-zsh git plugin & aliases 2013-08-04 05:04:22 -04:00
Henrik Lissner 730b0f3ca0 Switch to block cursor in cmd mode (iterm/mac only) 2013-08-04 02:54:02 -04:00
Henrik Lissner 021b9589b9 Prompt cleanup 2013-08-03 16:01:14 -04:00
Henrik Lissner 0bc79121e5 Add simpler list alias 2013-08-03 16:00:57 -04:00
Henrik Lissner bfc8fe696c Prompt turns green in CMD mode, instead 2013-08-03 11:16:19 -04:00
Henrik Lissner 11662a6ec5 Improve zsh vi-mode 2013-08-02 16:23:37 -04:00
Henrik Lissner 4b70bc8f0e Add zsh vi-mode settings 2013-08-02 15:37:20 -04:00
Henrik Lissner 1920e5b76a Mac doesn't like --color on ls 2013-08-02 02:38:33 -04:00
Henrik Lissner ddfb32cacc Fix frozen timestamp bug 2013-07-31 12:10:17 -04:00
Henrik Lissner 3fc296deb6 More linux-friendly aliases file 2013-07-31 12:10:08 -04:00
Henrik Lissner 0bcd953e19 Fix hostname and substr syntax 2013-07-28 04:17:25 +00:00
Henrik Lissner 54ca66d8e5 Add timestamp 2013-07-27 23:11:52 -04:00
Henrik Lissner a155fc4fa9 Add love alias + Dropbox path + remove deploy 2013-07-27 02:51:35 -04:00
Henrik Lissner ba448dab1f Add vagrant alias 2013-05-05 18:14:15 -04:00
Henrik Lissner 25cc64f86b Add -y flag to apt-get 2013-05-05 18:14:07 -04:00
Henrik Lissner e844374fe8 Change gl alias to show compact commit log 2013-03-25 20:31:50 -04:00
Henrik Lissner f37ba74be6 Add vim modeline 2013-03-23 05:18:22 -04:00
Henrik Lissner f1dfd720b9 Reorganized into mac/linux aliases 2013-03-23 04:29:56 -04:00
Henrik Lissner d83544f931 Force delete dest if exists 2013-03-23 03:44:56 -04:00
Henrik Lissner 0edfdd4599 Vim alias wrong way around 2013-03-23 03:00:39 -04:00
Henrik Lissner 9c3d42a519 Make v alias = vim in ssh sessions 2013-03-23 02:44:53 -04:00
Henrik Lissner de7ab87e91 Remove 'local' call 2013-03-22 21:14:01 -04:00
Henrik Lissner e0917ffebc Check if file still exists after link check 2013-03-22 21:13:45 -04:00
Henrik Lissner e977a55a7b Add indent() and color variables 2013-03-22 21:13:06 -04:00
Henrik Lissner 1c8d2b0a67 Restore laravel aliases and add git hard reset alias 2013-03-22 21:12:49 -04:00
Henrik Lissner c61013485f Safety net aliases for dangerous commands (like rm) 2013-03-22 21:12:07 -04:00
Henrik Lissner b59e230b2c Add vim modeline to zsh dotfiles 2013-03-22 21:10:59 -04:00
Henrik Lissner 4b29a16f0c Add dotfiles alias 2013-03-22 14:56:06 -04:00
Henrik Lissner b8c9a02ace Add brew and laravel aliases 2013-03-22 14:49:23 -04:00
Henrik Lissner da6081e7a2 Refactor everything; now one repo for both mac and deb dotfiles 2013-03-22 13:15:50 -04:00
Henrik Lissner 48b4a09daa Describe some zsh options and fix case 2013-03-21 22:25:31 -04:00
Henrik Lissner bc6476286b Make update() a script and remove unused functions 2013-03-21 22:25:01 -04:00
Henrik Lissner 2e10aa8b9c Remove shebangs (not meant to be run on their own) 2013-03-21 22:24:13 -04:00
Henrik Lissner 70c9f22a38 Remove indent on updates (hangs on sudo password request) 2013-03-21 15:41:18 -04:00
Henrik Lissner ca25ae31e6 Ask for password before updating begins 2013-03-21 14:12:22 -04:00
Henrik Lissner a67b251648 Remove dropbox PATH in favor of ~/.dotfiles 2013-03-21 12:33:30 -04:00
Henrik Lissner bf043923a1 Use command-exists 2013-03-21 12:31:41 -04:00
Henrik Lissner d2aaea6009 Improve install scripts, refactor structors and overall modularity 2013-03-21 03:07:56 -04:00
Henrik Lissner d6ad7ba856 Refactor func names for consistency's sake 2013-03-20 19:59:17 -04:00
Henrik Lissner 90889f5f88 Redesign zsh prompt (a little easier on the eyes) 2013-03-20 19:55:09 -04:00
Henrik Lissner 235215366c Check for mvim for vim alias 2013-03-17 23:48:21 -04:00
Henrik Lissner 4342e26c60 Add gt and q aliases 2013-03-17 22:49:25 -04:00
Henrik Lissner f9b5668e86 Add tmux aliases 2013-03-17 22:23:48 -04:00
Henrik Lissner 2a5dbb13df Add app aliases 2013-03-17 14:42:34 -04:00
Henrik Lissner c346ed19e8 Stray semicolon, and change shebang to zsh 2013-03-17 00:16:43 -04:00
Henrik Lissner 81fa8a39d3 Use command_exists function 2013-03-16 18:08:45 -04:00
Henrik Lissner ab47c97443 Move quick-look() to functions 2013-03-16 18:00:51 -04:00
Henrik Lissner 32af8317b1 Remove CPPFLAGS and clean up 2013-03-16 17:57:09 -04:00
Henrik Lissner a875368033 Fix prompt color inconsistency 2013-03-16 14:46:50 -04:00
Henrik Lissner b9ee35cf0e Change bg color in remote shells 2013-03-16 14:45:53 -04:00
Henrik Lissner 4b0f050d1b Add more git and basic aliases 2013-03-16 14:29:46 -04:00
Henrik Lissner 78cecdae88 Clean prompt and fix git integration 2013-03-16 14:29:30 -04:00
Henrik Lissner 1cfb22ac59 Add command_exists function 2013-03-16 13:32:16 -04:00
Henrik Lissner 4b8319c7da Move update() to its own script 2013-03-16 13:31:51 -04:00
Henrik Lissner 4babe03620 Whitespace fix 2013-03-13 07:24:13 -04:00
Henrik Lissner 159842acfc Prepend new PATHs, rather than append 2013-03-09 00:18:27 -05:00
Henrik Lissner 22f451154f Move unsetopt to config 2013-03-09 00:18:10 -05:00
Henrik Lissner 30e42e76aa Use sudo to permit --system gem updates 2013-03-07 03:58:35 -05:00
Henrik Lissner e692ddc7af Shebangs on zsh/* 2013-03-07 03:58:05 -05:00
Henrik Lissner 53e9c19417 Add function to update homebrew, rvm, rubies, rubygems and vim 2013-03-07 03:25:23 -05:00