Commit graph

13 commits

Author SHA1 Message Date
Jonathan Hodgson
f8432aa2ac list contents if I try and cat a directory 2021-11-16 11:20:15 +00:00
Jonathan Hodgson
d967936fde 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.
2021-10-26 00:10:52 +01:00
Jonathan Hodgson
0eb79c5f40 Check bat exists before overiding it 2021-02-03 23:04:10 +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
5b77ceb763 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
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
Jonathan Hodgson
e4c0640d32 Tidy mycd and comment todo function 2020-01-31 14:55:15 +00:00
Jonathan Hodgson
2d2425f704 Adds new man function 2020-01-04 13:26:59 +00:00
Jonathan Hodgson
e73c5e298d Makes ctrlc work to reset colour schemes in ssh 2019-11-11 17:24:47 +00:00
Jonathan Hodgson
54bcccfe08 New fzf aliases and shortCuts 2019-10-18 09:02:22 +01:00
Jonathan Hodgson
bacb273f81 Make colourscheme solarized dark when sshing 2019-08-02 11:37:32 +01:00
Jonathan Hodgson
83adf42719 Add shared shell files to shared directory 2019-08-01 18:07:01 +01:00
Renamed from shells/functions (Browse further)