Jonathan Hodgson
27f641996d
Check program exists before adding grc alias
3 years ago
Jonathan Hodgson
58fe21a0c0
Updates gpg alias
3 years ago
Jonathan Hodgson
56395b71f1
Changes double shift action
...
Previously, pushing both shift keys would switch the layout between
colemak and qwerty. However, I never use qwerty now so have changed it
so that double shift now toggles capslock. The capslock key remains
bound to backspace as is default in colemak
3 years ago
Jonathan Hodgson
c9d1320b54
Adds sudo writes to nvim
...
If in nvim and the SUDO_ASKPASS environment variable is set then a WW
mapping will expand to
:w !sudo -A tee % >/dev/null
If in not-neo vim, the -A is omitted.
The environment variable is also set. Some unused environment variables
were also removed.
https://stackoverflow.com/questions/2600783/how-does-the-vim-write-with-sudo-trick-work
https://github.com/neovim/neovim/issues/12103
3 years ago
Jonathan Hodgson
8a56e49a74
list contents if I try and cat a directory
3 years ago
Jonathan Hodgson
766dcab3a7
Adds .local/bin to path for pip
3 years ago
Jonathan Hodgson
288d8c4ce1
Stops forcing colour for jq
3 years ago
Jonathan Hodgson
02b9b6e51e
Functions: adds httpie helpers for xsrf
...
The functions are wrappers around http and https and set the
x-xsrf-token header based on the value of the Xsrf-token cookie in the
session file.
Currently, the cookie name and header name are hard coded. I may look to
specify those in an argument at some point although for now it's
probably fine.
3 years ago
Jonathan Hodgson
16b919dc3e
Adds some telemetry env variables and composer to path
3 years ago
Jonathan Hodgson
5df1e386e6
SHELLS: adds a few aliases
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
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
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
170ecf906d
Organises things
...
Mainly organising aliases and functions, also adds some environment
variables
4 years ago
Jonathan Hodgson
97615ebc3b
Only set some aliases if commands exist
5 years ago
Jonathan Hodgson
5cad599fb2
Shell config changes
5 years ago
Jonathan Hodgson
4f2bf2fc14
Adds alias for docker-compose
5 years ago
Jonathan Hodgson
57bb4a9c2f
Tidy mycd and comment todo function
5 years ago
Jonathan Hodgson
857b77400c
Tidy up PATH
5 years ago
Jonathan Hodgson
75eb5214de
Adds new man function
5 years ago
Jonathan Hodgson
1af6faa3d7
Adds a few aliases
5 years ago
Jonathan Hodgson
46131a06c3
Makes ctrlc work to reset colour schemes in ssh
5 years ago
Jonathan Hodgson
4b625841e0
zsh changes
5 years ago
Jonathan Hodgson
6859650eec
Adds prompts when using sql commands and adds alias for tldr
5 years ago
Jonathan Hodgson
225fe5b043
New fzf aliases and shortCuts
5 years ago
Jonathan Hodgson
dbfbbd2623
Many changes
5 years ago
Jonathan Hodgson
67b7d62977
Changes to zsh - ranger shortcut and alias for armory tool
5 years ago
Jonathan Hodgson
a3e687088d
Removes old php aliases and adds rs alias
5 years ago
Jonathan Hodgson
6caadcde51
Removes some old aliases and adds a new one for docker
5 years ago
Jonathan Hodgson
d2d249e5d9
Adds an alias for ss
5 years ago
Jonathan Hodgson
9e093b478d
Adds a ddg alias
5 years ago
Jonathan Hodgson
ad52b71067
Make colourscheme solarized dark when sshing
5 years ago
Jonathan Hodgson
6fba1253bb
Add shared shell files to shared directory
5 years ago