Jonathan Hodgson
d92ac70946
ZSH: prompt: show branch on older versions of git
3 years ago
Jonathan Hodgson
5c159344fc
ZSH: checks for project in prompt
3 years ago
Jonathan Hodgson
bda6ca95e4
ZSH: checks for project in prompt
3 years ago
Jonathan Hodgson
0fdbfe45b7
ZSH: checks for commands existance before running
3 years ago
Jonathan Hodgson
ec6bad4c1a
Makes right alt my compose key
...
Compose key is used for inputting special characters more easily.
See the compose table for examples:
https://help.ubuntu.com/community/GtkComposeTable
4 years ago
Jonathan Hodgson
f555ccd352
Make colours work now focus has been disabled
4 years ago
Jonathan Hodgson
f6964bf3ba
Only show explicitly installed when tab-completing pacman -R*
...
When tabcompleting for pacman -R*, I generally only want to show things
that I've explicitly installed, rather than things that have been
installed automatically as a dependency.
4 years ago
Jonathan Hodgson
dfa5f5e424
Deletes focus zsh file
4 years ago
Jonathan Hodgson
428a59cafd
Adds cat to auto-notify ignore list
4 years ago
Jonathan Hodgson
983896f644
ZSH: Makes prompt shorter in narrow terminals
...
This is mainly achieved by no longer showing the full path.
If the terminal is less than 100 characters, it will show a preceding
icon, >> then the bottom most folder name.
The >> indicates that folders have been missed.
I have added an icon for my dotfiles folder
4 years ago
Jonathan Hodgson
3187c98e35
Adds check for fzf
4 years ago
Jonathan Hodgson
bc8e2e2f97
Adds checks to promptconfig
4 years ago
Jonathan Hodgson
f6cbc5ddad
Check bat exists before overiding it
4 years ago
Jonathan Hodgson
32dcc8c957
Adds check before running ruby commands
4 years ago
Jonathan Hodgson
74f433ccb1
ALIAS: makes verifySSL use the chacha ssl if it's available
4 years ago
Jonathan Hodgson
36b268a1ba
Alias: changes kb to keys
...
I would like to use kb for a new tool I'm making.
4 years ago
Jonathan Hodgson
c83bb775b4
aliases: adds enum4linux -> enum4linux-ng
...
This is a newer re-write with additional features and written in python
https://github.com/cddmp/enum4linux-ng
4 years ago
Jonathan Hodgson
fd6d4258df
aliases: fixes check for a couple of commands
...
I had forgotten to put the -p flag on type when checking for the
existence of commands
4 years ago
Jonathan Hodgson
e95aef3c0d
SH: adds bash shebang to shared dotfiles for syntax highlighting
4 years ago
Jonathan Hodgson
959b57110c
SHELL: Adds aliases for cp and mv with progress bars
...
I found patches at the link below for mv and cp that add options for
progress bars. I have applied and compiled them and named the commands
cpg and mvg as recommended in the readme. They are named like that (I
assume) because they add a -g flag for progress.
If they are present and in my path, I always want to use them with the
progress bar flag in place of cp or mv
https://github.com/jarun/advcpmv
4 years ago
Jonathan Hodgson
6f8de2427e
SHELL: Adds a shortcut for wingcc
...
I can never remember the name of the command to compile a windows exe in
linux so I created an alias for it called wingcc
4 years ago
Jonathan Hodgson
7a82ef8f29
SHELL: adds alias so sc is runs sc-im
4 years ago
Jonathan Hodgson
9f00cf46a4
REMIND: Adjust alias for better sorting
...
Default is dddd
aadd makes it sort date and time in ascending order (earlier first)
4 years ago
Jonathan Hodgson
303ff410f7
REMIND/ZSH: set environment variables and alias
...
I have added an environment variable to make rem look for it's default
configuration file in ~/.config/remind/remind.rem
I have added an alias so rem will output in colour
I have made zsh run `rem` when I open a new terminal if I don't have a
project set. I may remove this in the future
4 years ago
Jonathan Hodgson
ae532f2ca0
ZSH: allows command swap key binding to support multiple groups
...
The groups are now separated by : character and each element in the
group is separated by a space
I have added a group for swapping ping and mtr
4 years ago
Jonathan Hodgson
d68a0628b2
ZSH: Add alt+c keybinding for swapping commands
...
By pushing alt+c, zsh will now cycle between vim, ls and cd. In the
future I may add more cycle groups
4 years ago
Jonathan Hodgson
85507b9aae
ZSH: makes edit with vim shortcut Ctrl+x
...
For some reason ctrl+x ctrl+e has stopped working. I think it is
probably related to the use of suckless scroll. This uses ctrl+e which
is interpreted as a scroll.
For now though, using ctrl+x is fine
4 years ago
Jonathan Hodgson
516af805c3
Adds git-fuzzy to zsh
4 years ago
Jonathan Hodgson
dcad943088
Adds unread emails to prompt
4 years ago
Jonathan Hodgson
f6f7c490b8
Adds fzf completion to ytaudio
4 years ago
Jonathan Hodgson
b48b57851a
Adds sl to commands not to notify on end
4 years ago
Jonathan Hodgson
3a647e8756
Makes zsh expand initial command properly
4 years ago
Jonathan Hodgson
90231cca39
Changes to how cat works mainly
...
Cat is now a function rather than an alias. It will tie in with grc if
possible and add syntax highlighting to the file
if not, will fall back do using bat
4 years ago
Jonathan Hodgson
83a047a8a3
Adds conflicts to git prompt config
4 years ago
Jonathan Hodgson
65ddfa3342
Makes fg-bg work on more listeners
4 years ago
Jonathan Hodgson
8c2363f25e
makes fzf go to top on change
4 years ago
Jonathan Hodgson
2d17e09b50
Adds aliased with prefix function
4 years ago
Jonathan Hodgson
3ddbac879f
Adds chaselinks option to zsh
4 years ago
Jonathan Hodgson
170ecf906d
Organises things
...
Mainly organising aliases and functions, also adds some environment
variables
4 years ago
Jonathan Hodgson
edc2538ec6
Stops tab completion prompting if there is a lot
5 years ago
Jonathan Hodgson
111d1ad734
Makes ctrl+t and alt+c shortcuts exclude node_modules
5 years ago
Jonathan Hodgson
72f8fa04cd
Adds alt+m zle shortcut to create the directory for the current arg
5 years ago
Jonathan Hodgson
35cffff6f9
Adds overide completions for msfvenom payloads and pacman -Ql
5 years ago
Jonathan Hodgson
f2d62ffae4
Changes behaviour of ctrl t in zsh
...
Now pressing ctrl t will sometimes search directories if more
appropriate.
Pressing alt+c will now to whatever ctrl+t doesn't do if I ever need the
alternative type.
5 years ago
Jonathan Hodgson
08892c7fc2
Makes completion look better with descriptions etc
5 years ago
Jonathan Hodgson
232fcb3262
Work on hydra completion
...
Now supports both syntaxes
Currently, doesn't tab complete service options but does show help
5 years ago
Jonathan Hodgson
b48b2ca34e
Work on hydra completion
5 years ago
Jonathan Hodgson
bf8b4cd633
Start work on hydra completion
5 years ago
Jonathan Hodgson
3b28d5c2b9
Split completion overide scripts up and into seperate files
5 years ago
Jonathan Hodgson
7909828f80
Mostly improving fzf tab on-word complete
5 years ago