Commit Graph

41 Commits

Author SHA1 Message Date
654a2ad327 fix(prompt)!: New NerdFont glyphs
Use the new NerdFont glyphs so that the git branch portion of the prompt
displays correctly.
BREAKING CHANGE: Any install using old NerdFonts will display incorrect
glyphs, This should be resolved by updating your NerdFont.
2024-02-19 15:13:34 +00:00
2ad568db03
feat(keyboard): Use paste and quote magic
Use both bracketed-paste-magic and url-quote-magic to make pasting urls
into the terminal a little nicer.
NOTE: In rare cases this can break things, and will slow down pasting.
2024-02-19 15:12:31 +00:00
cd0ec0c563
fix(hooks): Fix glow hook overriding glow command
Fix the issue where as the glow hook was called glow it would be called
instead of the command glow.
2024-02-19 14:57:25 +00:00
6a7f432e33
refactor(dir_aliases): Change Projects
Change projects hash alias to try `$Z_PROJECT_DIR` first before using
`$HOME/Projects`
2024-02-19 14:54:53 +00:00
1a18c13306
feat(aliases): add gp (goProject) alias
Add a simple alias that finds all projects in `$Z_PROJECT_DIR` if set
otherwise searches `$HOME/Projects`
2024-02-19 14:52:56 +00:00
08539a0de6
feat(aliases): Add support for eza
Use eza first, then exa to replace ls and tree
2024-02-19 14:51:24 +00:00
9da7b6babf
refactor: Change the way that all hooks work
Move hooks to a dedicated module.
This allows for greater flexibility and easier editing.

TODO: Make hook handling neater (possibly through parsing the hook
	script to read an "hook-to" marker that allows for automated
	loading of properly formatted hook functions)
2023-04-11 22:45:38 +01:00
43e3ce2765
refactor(prompt): Add hook in the conventional way
Change how I add the `vcs_info` function call to the `precmd` hook.
Using add-zsh-hook allows me to have multiple hook functions on `precmd`
and makes it clear what is done for each hook when listing them
2023-04-11 22:42:43 +01:00
c2f60ba7fd
feat(zshrc): Enable more options and Document
- Extended Globbing
- Chase Dots
- Mark Dirs
- rm Star Wait
- Interactive comments

These options have been enabled as I belive that I will find them
useful. For more information on functionality please see appropriate
documentation.
2023-04-11 00:00:02 +01:00
ef86f64945
fix(zshrc): Allow loading local site-functions
Some programs install completion to `~/.local/zsh/site-functions`
adding this path to `fpath` allows them to be loaded by `compinit`
2023-04-01 22:03:34 +01:00
7ad661267e
fix(zshrc): check for homebrew first
make zsh check if the homebrew directory is present before attempting to
load it.
2023-04-01 21:57:33 +01:00
a79e9e988f
fix(history): Change set to setopt
Kinda borked the history settings by using set instead of setopt
mia culpa
Fixed now
2023-04-01 21:54:05 +01:00
Robert Morrison
d99aa241fe
docs(Readme): Update Readme
Complete rewrite of Readme for hopefully better clarity.
Now covering all major features and differences
2022-12-06 23:31:00 +00:00
Robert Morrison
c46372add1
chore(completion): remove echoing of $fpath
Removed debugging echo statement from completion settings
2022-12-06 17:49:51 +00:00
Robert Morrison
a91c9a530e
chore: Remove executable bit from files
none of these files need to be marked as executable...
2022-12-06 17:47:59 +00:00
Robert Morrison
91252d1b54
refactor(prompt): Move set term title to precmd
Moved the setTermTitle function call out of the prompt line and into the
precmd hook.
This shortens the non-visible length of the prompt line and also makes
the functionality clearer
2022-12-06 16:24:32 +00:00
Robert Morrison
ab222a30c7
fix(chpwd): fix chpwd
Dumb syntax error fix
2022-12-05 21:39:02 +00:00
Robert Morrison
5d1484881e
fix: add some compatibility options
this commit introduces the `has` function.
Now I can ensure that any command I want to alias or call is available
first.

This should allow the config to automatically slot in even where systems
aren't configured in the way I would expect
2022-12-05 21:29:10 +00:00
Robert Morrison
a029d2f348
Mega Commit
This commit is a sin.
But necessary
2022-12-05 21:03:45 +00:00
Robert Morrison
9ff7659ada
Remove zkbd files.
No need to sync these over git as they are terminal and system specific
2022-02-20 01:42:49 +00:00
Robert Morrison
4970349c55
bugfix - load functions
Load functions by manipulating fpath
2022-02-20 01:40:09 +00:00
Robert Morrison
70822b11da
Update zshPlug to working version 2022-02-20 01:27:08 +00:00
Robert Morrison
acea2aed2c
Pull fixed zshPlug 2022-02-20 00:58:01 +00:00
Robert Morrison
bbf21d3b21
Functionify my tempPersist script 2022-02-20 00:11:49 +00:00
Robert Morrison
36fc496ecc
Changes to submodule 2022-02-20 00:09:34 +00:00
Robert Morrison
3244a8d7b8
Just some minor style change 2022-02-20 00:09:08 +00:00
Robert Morrison
376a8bd9c0
Add modeline to keyboard 2022-02-20 00:07:32 +00:00
Robert Morrison
d038098795
Fixed some minor "errors"
Doesn't seem to have affected functionality but some neatness added
since ZDOTDIR is defined.

also fixed minor typo
2022-02-20 00:06:09 +00:00
Robert Morrison
3a11984112
Update dir_aliases
Update the directory aliases to use the hash builtin,
This allows better use of the aliases
2022-02-15 02:42:19 +00:00
Robert Morrison
64144cba89
Add readme 2022-02-15 02:21:05 +00:00
Robert Morrison
5fbbea0e71
Update submodule URL 2022-02-15 02:17:47 +00:00
Robert Morrison
6e00ee4a0e
Remove usage of Hidden Unicode
Replace the hidden unicode characters for "^X^E"
2022-02-15 02:03:53 +00:00
Robert Morrison
c8d0a8c855
Add support for gpg-agent
Load gpg-agent and ensure compatibility for SSH and other services.
This is needed to use smartcard based GPG authentication
2022-02-15 01:59:57 +00:00
Robert Morrison
b726613d94
Update aliases
Add a new alias to start vimwiki automatically
2022-02-02 17:37:11 +00:00
Robert Morrison
88065af313
Update .gitignore
Update the gitignore to ignore the .zcompdump file
this commit also removes the file from the repo
2022-02-02 17:34:39 +00:00
Robert Morrison
f9ef5dd344
Update keyboard
Fix spelling error in keyboard file and clarify error message
2022-02-02 17:30:54 +00:00
Robert Morrison
bbe4745c40
Update Keyboard
Update keyboard to move .zkbd to the ZDOTDIR
2022-02-02 17:29:57 +00:00
Robert Morrison
e1cac62062
Update zshrc
Add support for opam
2022-02-02 17:25:41 +00:00
Robert Morrison
38401cbb05
Create .gitignore
IGNORE: .zkbd/
there is no need to sync the .zkbd directory since it is meant to be
created as needed
2022-02-02 17:22:18 +00:00
Robert Morrison
a2b2f52710
Stuff 2021-12-27 23:42:59 +00:00
Robert Morrison
bf2f207b59
Initial commit 2021-08-30 04:19:39 +01:00