Commit graph

138 commits

Author SHA1 Message Date
Jonathan Hodgson
e95aef3c0d SH: adds bash shebang to shared dotfiles for syntax highlighting 2020-12-14 09:23:38 +00:00
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
2020-11-02 17:17:27 +00:00
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
2020-11-02 17:13:39 +00:00
Jonathan Hodgson
7a82ef8f29 SHELL: adds alias so sc is runs sc-im 2020-11-02 17:12:33 +00:00
Jonathan Hodgson
9f00cf46a4 REMIND: Adjust alias for better sorting
Default is dddd

aadd makes it sort date and time in ascending order (earlier first)
2020-11-02 17:09:19 +00:00
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
2020-10-14 17:46:45 +01:00
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
2020-10-14 12:29:16 +01:00
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
2020-10-13 15:59:16 +01:00
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
2020-10-06 14:33:07 +01:00
Jonathan Hodgson
516af805c3 Adds git-fuzzy to zsh 2020-09-22 15:39:54 +01:00
Jonathan Hodgson
dcad943088 Adds unread emails to prompt 2020-09-19 11:23:21 +01:00
Jonathan Hodgson
f6f7c490b8 Adds fzf completion to ytaudio 2020-09-19 11:22:53 +01:00
Jonathan Hodgson
b48b57851a Adds sl to commands not to notify on end 2020-09-19 11:20:34 +01:00
Jonathan Hodgson
3a647e8756 Makes zsh expand initial command properly 2020-09-19 11:19:58 +01:00
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
2020-09-15 17:13:32 +01:00
Jonathan Hodgson
83a047a8a3 Adds conflicts to git prompt config 2020-07-29 17:21:26 +01:00
Jonathan Hodgson
65ddfa3342 Makes fg-bg work on more listeners 2020-07-29 17:20:45 +01:00
Jonathan Hodgson
8c2363f25e makes fzf go to top on change 2020-07-29 17:19:50 +01:00
Jonathan Hodgson
2d17e09b50 Adds aliased with prefix function 2020-07-29 17:16:18 +01:00
Jonathan Hodgson
3ddbac879f Adds chaselinks option to zsh 2020-07-29 17:15:15 +01:00
Jonathan Hodgson
170ecf906d Organises things
Mainly organising aliases and functions, also adds some environment
variables
2020-07-29 17:13:40 +01:00
Jonathan Hodgson
edc2538ec6 Stops tab completion prompting if there is a lot 2020-05-25 11:57:58 +01:00
Jonathan Hodgson
111d1ad734 Makes ctrl+t and alt+c shortcuts exclude node_modules 2020-05-25 11:57:27 +01:00
Jonathan Hodgson
72f8fa04cd Adds alt+m zle shortcut to create the directory for the current arg 2020-05-22 17:37:21 +01:00
Jonathan Hodgson
35cffff6f9 Adds overide completions for msfvenom payloads and pacman -Ql 2020-05-22 17:35:41 +01:00
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.
2020-05-22 17:33:45 +01:00
Jonathan Hodgson
08892c7fc2 Makes completion look better with descriptions etc 2020-05-22 17:32:19 +01:00
Jonathan Hodgson
232fcb3262 Work on hydra completion
Now supports both syntaxes

Currently, doesn't tab complete service options but does show help
2020-05-14 15:58:19 +01:00
Jonathan Hodgson
b48b2ca34e Work on hydra completion 2020-05-11 21:51:30 +01:00
Jonathan Hodgson
bf8b4cd633 Start work on hydra completion 2020-05-11 21:33:56 +01:00
Jonathan Hodgson
3b28d5c2b9 Split completion overide scripts up and into seperate files 2020-05-09 20:44:18 +01:00
Jonathan Hodgson
7909828f80 Mostly improving fzf tab on-word complete 2020-05-08 20:42:26 +01:00
Jonathan Hodgson
cb9109f3df Tidy up prompt config script 2020-05-08 16:40:40 +01:00
Jonathan Hodgson
0b0df7c966 Adds fzf completion to hashcat hash modes in completion script 2020-05-06 16:45:38 +01:00
Jonathan Hodgson
c4c6611ef1 Adds completion to hashcat 2020-05-06 16:39:49 +01:00
Jonathan Hodgson
97615ebc3b Only set some aliases if commands exist 2020-04-15 15:01:52 +01:00
Jonathan Hodgson
5f5b060bb7 Adds spaces to allow for double with icons 2020-04-15 15:00:57 +01:00
Jonathan Hodgson
145eb0373b Makes fzf work better if key-bindings and completion in Debian location 2020-03-31 09:13:24 +01:00
Jonathan Hodgson
2c11d9db0a Makes zshrc source environment variables if not already set 2020-03-30 17:55:25 +01:00
Jonathan Hodgson
e16e23e56b Removes powerline plugin 2020-03-30 17:14:09 +01:00
Jonathan Hodgson
eeeffe983b Adds untracked files to git prompt 2020-03-29 19:21:32 +01:00
Jonathan Hodgson
217cfcd0f2 Fixes git tag and makes fzf default to ansi colours 2020-03-29 19:15:09 +01:00
Jonathan Hodgson
9e2a6f1897 Used metasploit's cache to make completion faster 2020-03-27 15:57:12 +00:00
Jonathan Hodgson
2f5be60296 Adds note to comment that I have changed it 2020-03-23 15:42:36 +00:00
Jonathan Hodgson
1dc33446be Fix formats completion 2020-03-23 15:38:08 +00:00
Jonathan Hodgson
1917307cb2 Adds msfvenom completion with payloads
Also some small fzf and prompt changes
2020-03-23 15:28:59 +00:00
Jonathan Hodgson
cc5af36858 Stops the terminal sending focus events when process is running 2020-03-11 18:11:39 +00:00
Jonathan Hodgson
eab2cd70d5 Adds ctrl+z binding 2020-03-11 17:40:45 +00:00
Jonathan Hodgson
5cad599fb2 Shell config changes 2020-03-11 12:56:06 +00:00
Jonathan Hodgson
715b2b7d3e Lots of zsh changes 2020-03-11 11:30:54 +00:00