Commit graph

62 commits

Author SHA1 Message Date
Oliver Davies d51de5bb17 Revert "zsh: Use $_ANTIGEN_INSTALL_DIR for macOS"
This reverts commit 29171bba91.
2020-06-10 11:42:19 +01:00
Oliver Davies cb22f5ae67 Un-dot the bin directory 2020-06-10 02:20:19 +01:00
Oliver Davies 62e2db48ec zsh: Add comment for $TERM_PROGRAM 2020-06-09 22:35:43 +01:00
Oliver Davies 29171bba91 zsh: Use $_ANTIGEN_INSTALL_DIR for macOS 2020-06-09 22:23:19 +01:00
Oliver Davies 2f74e7443a zsh: Override antigen.zsh Linux path again 2020-06-09 22:20:32 +01:00
Oliver Davies 10ac710d7c zsh: Switch path to antigen.zsh based on OS
Switch the path to the antigen.zsh file (for loading ZSH plugins) based
on the OS (i.e. macOS and Linux) using the functions added in
91d7ca5005.

This should quicker than using the `find` command and locating the file
within the `/usr` directory.

References #9
2020-06-09 21:41:59 +01:00
Oliver Davies 211ea05c0e Don't connect to tmux in PhpStorm terminal 2020-06-09 21:29:04 +01:00
Oliver Davies 91d7ca5005 Add functions for checking OS 2020-06-09 21:29:04 +01:00
Oliver Davies 14317a1230 Add Symfony and PHPUnit aliases 2020-06-09 19:09:25 +01:00
Oliver Davies d258d9db8b zsh: Move call to ensure_tmux_is_running 2020-05-27 19:17:24 +01:00
Oliver Davies d27af16512 Fix separators in path 2020-05-21 14:14:22 +01:00
Oliver Davies 3ea811046d zsh: Rename navigation to path, move PATH 2020-05-13 01:08:05 +01:00
Oliver Davies bdcc85c50e
zsh: Alias c to clear 2020-05-11 20:20:50 +01:00
Oliver Davies 3674617172 Updated path to antigen
Had to install antigen manually as per
https://github.com/zsh-users/antigen/issues/659, and have updated the
path to antigen.zsh to match.
2020-05-06 17:33:20 +01:00
Oliver Davies 2caaa1ed57 Include .local/bin in PATH 2020-05-06 17:28:59 +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 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 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 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 f30427faa8 Add mollifier/cd-gitroot plugin 2020-01-16 00:40:09 +00:00
Oliver Davies 3520345f4b Load configs before functions 2020-01-15 08:28:26 +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 25ddaad532 Remove oh-my-zsh stuff 2020-01-14 20:00:51 +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
Oliver Davies 78eff56e53 Move zsh configs 2020-01-14 14:57:48 +00:00
Oliver Davies 37013ce0e1 Split cdpath onto multiple lines 2019-12-03 09:39:47 +00:00
Oliver Davies 0129a136a5
Start by default
Run `fin start` by default rather than `fin ps`.
2019-11-30 22:24:44 +00:00
Oliver Davies ceb01ff80c Add bin directory for custom scripts 2019-10-11 20:16:10 +01:00
Oliver Davies 0054c9a7b7 Add 'f' function
Adds 'f' function as a wrapper around 'fin' (the Docksal CLI) and removes the previous alias.
2019-10-09 19:04:16 +01:00
Oliver Davies 6b7a7ea5a7 Add 'g' function
Add the 'g' function as a wrapper around 'git'.
2019-10-09 19:02:37 +01:00
Oliver Davies 70e3fe7faa Include custom zsh functions 2019-10-09 19:02:06 +01:00