Commit graph

37 commits

Author SHA1 Message Date
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
d78eb40a89 Adds some telemetry env variables and composer to path 2021-09-07 17:06:25 +01:00
Jonathan Hodgson
35cf3a8472 SHELLS: adds a few aliases 2021-09-07 17:05:36 +01:00
Jonathan Hodgson
e1f096b885 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
2021-04-01 16:02:28 +01:00
Jonathan Hodgson
0eb79c5f40 Check bat exists before overiding it 2021-02-03 23:04:10 +00:00
Jonathan Hodgson
a93a6074e2 Adds check before running ruby commands 2021-02-03 23:00:28 +00:00
Jonathan Hodgson
f5cecab111 ALIAS: makes verifySSL use the chacha ssl if it's available 2021-01-13 16:11:50 +00:00
Jonathan Hodgson
2248c74519 Alias: changes kb to keys
I would like to use kb for a new tool I'm making.
2020-12-18 20:12:02 +00:00
Jonathan Hodgson
dc7a66bd95 aliases: adds enum4linux -> enum4linux-ng
This is a newer re-write with additional features and written in python

https://github.com/cddmp/enum4linux-ng
2020-12-17 09:42:13 +00:00
Jonathan Hodgson
168b2b94c1 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
2020-12-17 09:41:09 +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
85e1755799 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
3e16c54387 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
de1bcc7cdc SHELL: adds alias so sc is runs sc-im 2020-11-02 17:12:33 +00:00
Jonathan Hodgson
7b640c0219 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
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
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
ecb61c58ce Only set some aliases if commands exist 2020-04-15 15:01:52 +01:00
Jonathan Hodgson
1ec39640b9 Shell config changes 2020-03-11 12:56:06 +00:00
Jonathan Hodgson
fe220313e7 Adds alias for docker-compose 2020-01-31 14:55:42 +00:00
Jonathan Hodgson
e4c0640d32 Tidy mycd and comment todo function 2020-01-31 14:55:15 +00:00
Jonathan Hodgson
420986a825 Tidy up PATH 2020-01-31 14:54:05 +00:00
Jonathan Hodgson
2d2425f704 Adds new man function 2020-01-04 13:26:59 +00:00
Jonathan Hodgson
87b3a2b999 Adds a few aliases 2020-01-04 13:26:41 +00:00
Jonathan Hodgson
e73c5e298d Makes ctrlc work to reset colour schemes in ssh 2019-11-11 17:24:47 +00:00
Jonathan Hodgson
d9465307d6 zsh changes 2019-10-29 13:50:51 +00:00
Jonathan Hodgson
bdf91f71ae Adds prompts when using sql commands and adds alias for tldr 2019-10-23 20:32:52 +01:00
Jonathan Hodgson
54bcccfe08 New fzf aliases and shortCuts 2019-10-18 09:02:22 +01:00
Jonathan Hodgson
90fc6ab4fb Many changes 2019-10-10 17:29:09 +01:00
Jonathan Hodgson
a9707671fb Changes to zsh - ranger shortcut and alias for armory tool 2019-09-26 08:57:27 +01:00
Jonathan Hodgson
041406ceb8 Removes old php aliases and adds rs alias 2019-09-24 17:10:35 +01:00
Jonathan Hodgson
e1c293ca08 Removes some old aliases and adds a new one for docker 2019-09-13 07:32:10 +01:00
Jonathan Hodgson
9d7f48627f Adds an alias for ss 2019-09-10 12:43:45 +01:00
Jonathan Hodgson
a20f16b952 Adds a ddg alias 2019-08-21 15:51:58 +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