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
2021-11-16 14:29:20 +00:00
Jonathan Hodgson
766dcab3a7
Adds .local/bin to path for pip
2021-11-16 11:19:37 +00:00
Jonathan Hodgson
16b919dc3e
Adds some telemetry env variables and composer to path
2021-09-07 17:06:25 +01:00
Jonathan Hodgson
32dcc8c957
Adds check before running ruby commands
2021-02-03 23:00:28 +00:00
Jonathan Hodgson
e95aef3c0d
SH: adds bash shebang to shared dotfiles for syntax highlighting
2020-12-14 09:23:38 +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
170ecf906d
Organises things
...
Mainly organising aliases and functions, also adds some environment
variables
2020-07-29 17:13:40 +01:00
Jonathan Hodgson
5cad599fb2
Shell config changes
2020-03-11 12:56:06 +00:00