Commit graph

8 commits

Author SHA1 Message Date
Jonathan Hodgson
1daa851d98 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
2781826696 Adds .local/bin to path for pip 2021-11-16 11:19:37 +00:00
Jonathan Hodgson
d78eb40a89 Adds some telemetry env variables and composer to path 2021-09-07 17:06:25 +01:00
Jonathan Hodgson
a93a6074e2 Adds check before running ruby commands 2021-02-03 23:00:28 +00:00
Jonathan Hodgson
bf8631198c SH: adds bash shebang to shared dotfiles for syntax highlighting 2020-12-14 09:23:38 +00:00
Jonathan Hodgson
8459513709 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
6d8cb40d65 Organises things
Mainly organising aliases and functions, also adds some environment
variables
2020-07-29 17:13:40 +01:00
Jonathan Hodgson
1ec39640b9 Shell config changes 2020-03-11 12:56:06 +00:00
Renamed from shells/shared/profile (Browse further)