Commit graph

962 commits

Author SHA1 Message Date
Jonathan Hodgson
4b74958f9b Adds regex to current word completion 2021-09-07 14:00:06 +01:00
Jonathan Hodgson
aa8cc6a3e2 BIN: nessusComplianceFilter: various improvements 2021-09-02 11:34:44 +01:00
Jonathan Hodgson
b7c3e8d551 ZSH: make find file only give 1 result 2021-08-31 11:04:46 +01:00
Jonathan Hodgson
a654ca73fb ZSH: adds ^n keybinding to expand current word's filename
This is useful if I want to edit a script but I'm not in my scripts
directory. It will look for a file with the name I have typed and
replace it.

for example:
    vim yt<^n>
will be replaced with
    vim /home/jonathan/.bin/yt

The script will first try `which <filename>`, searching the path. If
that fails, it will do `locate "*/filename"` which will search for the
file elsewhere
2021-08-31 10:46:58 +01:00
Jonathan Hodgson
02a44619f3 ZSH: fixes issue for creaing directory with ~ in path
The alt-m key binding is used to create a directory for the current
"word". This change makes it work if it has something like ~ in the
name.

${~var} is used to turn on GLOB_SUBST. The string resulting from the
expansion will be interpreted as a pattern anywhere that is possible,
such as filenames expanding `~`

man zshexpn
2021-08-31 10:42:56 +01:00
Jonathan Hodgson
f030d0da98 ZSH: Completion: Hashcat: fix broken mode selection
Hashcat has changed the way it displays modes. Update the completion
script to reflect this.
2021-08-24 15:58:23 +01:00
Jonathan Hodgson
e4d2386912 ZSH: prompt: show branch on older versions of git 2021-08-23 15:24:34 +01:00
Jonathan Hodgson
8377a506be ZSH: checks for project in prompt 2021-08-23 15:22:05 +01:00
Jonathan Hodgson
69dd8e61c6 ZSH: checks for project in prompt 2021-08-23 15:19:48 +01:00
Jonathan Hodgson
a11fbf7516 ZSH: checks for commands existance before running 2021-08-23 15:16:56 +01:00
Jonathan Hodgson
94b45836f8 BIN: Deletes open-youtube and puts functionality in yt
The yt script now accepts a --url option which will take a url as an
option like

yt --url youtube.com/watch?v=blar
or
echo youtube.com/watch?v=blar | yt --url

It will also use rofi rather than fzf if not being run from a terminal
or the --rofi flag is given

I have updated the files that used to use open-youtube to reflect this
2021-07-30 13:14:50 +01:00
Jonathan Hodgson
2418c5477b BIN: fix yt to use hq or pup again
My last commit on this file (21ca27d) checks for the existence of
nonsense files - this was originally to check the sed path works.
2021-07-30 12:25:17 +01:00
Jonathan Hodgson
0c5cadaea6 VIM: Setup ripgrep and inccommand
RIPGREP

ripgrep is now my grep command and I can use [c and ]c for moving
between quickfix entries

INCCOMMAND

Setting this makes vim show the results of substitute commands as they
are types
2021-07-30 10:50:27 +01:00
Jonathan Hodgson
21ca27dec4 BIN: yt will now use sed if hq and pup aren't installed
This is still experimental - might break in weird ways
2021-07-29 20:36:56 +01:00
Jonathan Hodgson
47320aeff7 Bin: Allows yt to use pup instead of hq 2021-07-29 20:14:29 +01:00
Jonathan Hodgson
ce122b2ae7 Bin: Adds nessus compliance filter 2021-07-12 14:06:10 +01:00
Jonathan Hodgson
ba17575741 Add rofi readme 2021-07-08 11:37:55 +01:00
Jonathan Hodgson
1b77625b87 BIN: analyse-headers
Adds some more descriptions
2021-07-05 11:42:49 +01:00
Jonathan Hodgson
1d675757ae BIN: YT: multi word search patterns
If you run yt with multiple arguments, they are concatinated as the
search string
2021-06-30 10:55:29 +01:00
Jonathan Hodgson
c15cf0124b Deletes file 2021-06-23 09:20:41 +01:00
Jonathan Hodgson
3cae7b168d Remind: adds some reminders 2021-05-13 13:12:44 +01:00
Jonathan Hodgson
4c2fa4b15d Remind: Adds prinivox reminder 2021-05-13 13:12:27 +01:00
Jonathan Hodgson
131636f697 Remind: Adds birthday 2021-05-13 13:11:24 +01:00
Jonathan Hodgson
ff6c1c304b VIM: reselect visual selection after encodeing change
This change makes vim re-select the portion of text that was changed
after an encoding change.
2021-05-10 09:19:37 +01:00
Jonathan Hodgson
60da2caac1 Newsboat: Adds Leafshade software 2021-05-06 20:15:59 +01:00
Jonathan Hodgson
94e4a3cad5 Adds a load of newsboat links 2021-05-06 20:13:06 +01:00
Jonathan Hodgson
c5b75d4dd4 Bin: Changes screen layout scripts to allow for non-hdmi screens 2021-04-25 09:21:55 +01:00
Jonathan Hodgson
708b5cb988 tridactyl: adds some search shortcuts and openwithbrave 2021-04-22 11:03:42 +01:00
Jonathan Hodgson
85aa514a53 Merge branch 'master' of ssh://git.jonathanh.co.uk:2222/jab2870/Dotfiles 2021-04-22 10:13:24 +01:00
Jonathan Hodgson
a7efb1a1ff Firefox 89's top bar is 10px bigger than it was before
This commit hides an extra 10px so I don't need to see it.
2021-04-22 10:12:15 +01:00
Jonathan Hodgson
8662fd7c85 Merge branch 'master' of ssh://git.jonathanh.co.uk:2222/jab2870/dotfiles 2021-04-20 14:56:37 +01:00
Jonathan Hodgson
88e3fb3121 Adds ip addresses to phone status notification 2021-04-20 14:54:11 +01:00
Jonathan Hodgson
056611b014 SMS messages should now print properly to files with wierd chars 2021-04-20 14:52:54 +01:00
Jonathan Hodgson
631837681a Make call will now default to +44 if the number starts with a 0 2021-04-20 14:52:27 +01:00
Jonathan Hodgson
eca9af4fcf Fixes missed calls menu
Selecting a missed call will now call it correctly if the contact is in
the address book
2021-04-20 14:51:02 +01:00
Jonathan Hodgson
dac2ea8b45 BIN: analyse-headers: adds -k flag like curl
This flag will prevent curl from doing certificate checks

The long form, `--insecure` can also be used

Thanks Rob Norman for the suggestion
2021-04-09 11:55:47 +01:00
Jonathan Hodgson
298493d691 Fixes bug where it would try and test an empty line
Thanks Rob Norman for reporting and helping debug.
2021-04-09 11:45:05 +01:00
Jonathan Hodgson
b981f7ab08 Merge branch 'master' of ssh://git.jonathanh.co.uk:2222/jab2870/Dotfiles 2021-04-06 12:45:48 +01:00
Jonathan Hodgson
36b9f62d74 Adds Lexima and ultisnips
Lexima auto-closes brackets and quotes etc.
2021-04-06 12:44:28 +01:00
Jonathan Hodgson
5b05bb9c2c Changes the sms log file so that new messages can be counted
The log now contains @READ@ where @ is a null byte where new and old
messages diverge. This means that new sms's can be more easily counted

This, as well as a count for missed calls, has been added to the
phoneStatus notification
2021-04-05 10:23:39 +01:00
Jonathan Hodgson
f1dd615869 Adds missed calls list to phone menu 2021-04-04 17:30:49 +01:00
Jonathan Hodgson
0e4dcd2790 Fixes alsa default config 2021-04-04 16:32:45 +01:00
Jonathan Hodgson
967e73f806 Adds systemd scripts for hardware access and modem 2021-04-04 16:16:02 +01:00
Jonathan Hodgson
e03e97f832 Sets wallpaper if ~/Pictures/wallpaper exists 2021-04-04 16:11:26 +01:00
Jonathan Hodgson
c15b2a8645 Changes to rofi config for menu system 2021-04-04 16:06:00 +01:00
Jonathan Hodgson
e0cf58430b Many changes including introduction to menu system
THe main addition here is the menu system that is used to contoll the
phone. THere are also some small helper scripts for calls etc.
2021-04-04 16:04:22 +01:00
Jonathan Hodgson
86840be8ee Makes calling work
Much of the code that interfaces with the modem was taken from SXMO.

Calling now works for both incoming and outgoing calls
2021-04-04 16:01:24 +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
5832de6742 BIN: analyse-headers: Will attempt to decode F5 Cookies
Thanks <Huw Edwards> for the idea and help implementing it.
2021-03-31 11:12:05 +01:00
Jonathan Hodgson
08e4bceee8 Merge branch 'master' of ssh://git.jonathanh.co.uk:2222/jab2870/Dotfiles 2021-03-31 09:44:58 +01:00