Commit graph

262 commits

Author SHA1 Message Date
Oliver Davies 018ba7ae55 Ignore .zwc files 2020-04-23 15:33:54 +01:00
Oliver Davies a68b9fd0f3 Increase history size 2020-04-23 15:32:41 +01:00
Oliver Davies f46937d2de Fix case-insensitive autocompletion 2020-03-03 12:26:07 +00:00
Oliver Davies de5746401c Add completion script for g function 2020-03-03 00:51:30 +00:00
Oliver Davies efa6bcf778 Remove duplicate completion.zsh file 2020-03-03 00:44:30 +00:00
Oliver Davies 0865136067 Rename functions/g to configs/git.zsh 2020-03-02 23:40:17 +00:00
Oliver Davies e4fa6d1a5b Fix autocompletion for g function
Fixes #4
2020-02-25 21:53:36 +00:00
Oliver Davies 640e0f2a51 Allow for grouping pre and post configs 2020-02-25 21:52:57 +00:00
Oliver Davies 95a5bebec4 Create history.zsh 2020-02-06 09:20:34 +00:00
Oliver Davies ec68828f3d Add v as an alias for vagrant 2020-01-28 23:52:12 +00:00
Oliver Davies 3631167db2 tmux: add more key bindings 2020-01-28 20:21:06 +00:00
Oliver Davies 171533338a Change push.default to current
Stop feature branches from pushing directly to `develop`!
2020-01-27 22:24:30 +00:00
Oliver Davies 29bad6ff65 Add mkdir alias 2020-01-27 22:23:55 +00:00
Oliver Davies 43d2091670 Ensure correct exit code if there are no local aliases 2020-01-27 22:23:09 +00:00
Oliver Davies db6c9b4d7f Stop spaces being eaten on autocomplete
See https://superuser.com/a/613817
2020-01-24 00:19:42 +00:00
Oliver Davies aa11d28b61 Ensure that the directory is within a git repository
If not, return early in `git_prompt` info.

Fixes #3
2020-01-23 23:25:22 +00:00
Oliver Davies d942a47ef5 Display whether the repo is dirty in the prompt 2020-01-21 13:48:28 +00:00
Oliver Davies f1c0baf0f7 Start customising prompt 2020-01-21 12:20:20 +00:00
Oliver Davies 9adb9cfb90 Add a blank line before each command 2020-01-21 12:16:52 +00:00
Oliver Davies 958f684117 Add current-branch alias 2020-01-21 12:12:17 +00:00
Oliver Davies 4dd0d767aa Enable colours in prompt and output 2020-01-21 11:54:38 +00:00
Oliver Davies ef5db89e75 Add zsh-users/zsh-completions 2020-01-21 11:39:25 +00:00
Oliver Davies 78a3de6e80 Remove status right contents 2020-01-21 07:22:20 +00:00
Oliver Davies f31e39e5f5 Always tmux-ing 2020-01-21 07:21:30 +00:00
Oliver Davies 47a04ad6f2
Use a shorter git status 2020-01-17 11:31:38 +00:00
Oliver Davies f55b955d5c Update vi-copy commands 2020-01-16 01:07:45 +00:00
Oliver Davies 8cd7957e2c Add git.sh script
Allows for using git commands whilst specifying a SSH key to use.

See https://alvinabad.wordpress.com/2013/03/23/how-to-specify-an-ssh-key-file-with-the-git-command.
2020-01-16 00:55:50 +00:00
Oliver Davies f30427faa8 Add mollifier/cd-gitroot plugin 2020-01-16 00:40:09 +00:00
Oliver Davies 1d69603bf5 Add cl (clone) alias 2020-01-15 16:18:11 +00:00
Oliver Davies b9d048b364 Add git-delete-merged-branches 2020-01-15 16:18:11 +00:00
Oliver Davies f52b9f89c5
Add cl alias 2020-01-15 08:42:02 +00:00
Oliver Davies 3520345f4b Load configs before functions 2020-01-15 08:28:26 +00:00
Oliver Davies 987d1d6801 Add usage notes for git-publish 2020-01-15 08:28:26 +00:00
Oliver Davies 712a3c82e3 Fix formatting 2020-01-15 08:17:15 +00:00
Oliver Davies 920c2e9d91 Update zsh aliases 2020-01-15 08:17:15 +00:00
Oliver Davies 3c448018f3 Add zshenv, configure PROMPT_EOL_MARK 2020-01-15 08:17:15 +00:00
Oliver Davies 12e4c4be77 Add option to prefix the remote branch name 2020-01-15 08:17:14 +00:00
Oliver Davies 09504890ba Update git aliases 2020-01-15 01:42:33 +00:00
Oliver Davies df318f9b0e Change push.default to upstream 2020-01-15 00:57:15 +00:00
Oliver Davies af37c6b1a2 Remove old url config 2020-01-15 00:57:00 +00:00
Oliver Davies 14944df8a5 Add lfs filter 2020-01-15 00:56:41 +00:00
Oliver Davies 8c102063ab Remove macos
These commands have now been moved into the mac-provisioning repository
and run with Ansible instead as part of the initial provisioning.
2020-01-15 00:40:02 +00:00
Oliver Davies fdde17a3d1 More macOS configuration 2020-01-14 20:34:22 +00:00
Oliver Davies 385005adff Update key bindings 2020-01-14 20:33:56 +00:00
Oliver Davies e594a30091 Increase left status length 2020-01-14 20:00:52 +00:00
Oliver Davies 25ddaad532 Remove oh-my-zsh stuff 2020-01-14 20:00:51 +00:00
Oliver Davies 177ffc8a46 Fix 'unknown key: split-window' error 2020-01-14 20:00:24 +00:00
Oliver Davies 3f6367d2ca Remove f function 2020-01-14 20:00:24 +00:00
Oliver Davies d5419434d4 Re-add zsh-autosuggestions and zsh-autosuggestions plugins 2020-01-14 20:00:22 +00:00
Oliver Davies 71c155a20f Re-enable completion and case insensitivity 2020-01-14 14:58:05 +00:00