Jonathan Hodgson
fb3fb4365e
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
3 years ago
Jonathan Hodgson
afb31a7589
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
3 years ago
Jonathan Hodgson
b086532297
ZSH: Completion: Hashcat: fix broken mode selection
...
Hashcat has changed the way it displays modes. Update the completion
script to reflect this.
3 years ago
Jonathan Hodgson
d92ac70946
ZSH: prompt: show branch on older versions of git
3 years ago
Jonathan Hodgson
5c159344fc
ZSH: checks for project in prompt
3 years ago
Jonathan Hodgson
bda6ca95e4
ZSH: checks for project in prompt
3 years ago
Jonathan Hodgson
0fdbfe45b7
ZSH: checks for commands existance before running
3 years ago
Jonathan Hodgson
99736427be
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
3 years ago
Jonathan Hodgson
c619f884bd
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.
3 years ago
Jonathan Hodgson
2839b8e2bc
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
3 years ago
Jonathan Hodgson
2bc9dd56cc
BIN: yt will now use sed if hq and pup aren't installed
...
This is still experimental - might break in weird ways
3 years ago
Jonathan Hodgson
7775ec7539
Bin: Allows yt to use pup instead of hq
3 years ago
Jonathan Hodgson
6c09cc5c39
Bin: Adds nessus compliance filter
3 years ago
Jonathan Hodgson
4406c8407c
Add rofi readme
4 years ago
Jonathan Hodgson
f01fa8673f
BIN: analyse-headers
...
Adds some more descriptions
4 years ago
Jonathan Hodgson
70638ac508
BIN: YT: multi word search patterns
...
If you run yt with multiple arguments, they are concatinated as the
search string
4 years ago
Jonathan Hodgson
3934158058
Deletes file
4 years ago
Jonathan Hodgson
d208c53f28
Remind: adds some reminders
4 years ago
Jonathan Hodgson
29a76b6c3d
Remind: Adds prinivox reminder
4 years ago
Jonathan Hodgson
a8a639e756
Remind: Adds birthday
4 years ago
Jonathan Hodgson
56174f1ddc
VIM: reselect visual selection after encodeing change
...
This change makes vim re-select the portion of text that was changed
after an encoding change.
4 years ago
Jonathan Hodgson
bd090b44c1
Newsboat: Adds Leafshade software
4 years ago
Jonathan Hodgson
a6835df627
Adds a load of newsboat links
4 years ago
Jonathan Hodgson
737a42d78d
Bin: Changes screen layout scripts to allow for non-hdmi screens
4 years ago
Jonathan Hodgson
bf4e6b0ec9
tridactyl: adds some search shortcuts and openwithbrave
4 years ago
Jonathan Hodgson
e5360e8038
Merge branch 'master' of ssh://git.jonathanh.co.uk:2222/jab2870/Dotfiles
4 years ago
Jonathan Hodgson
9153e1c89f
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.
4 years ago
Jonathan Hodgson
5af7269920
Merge branch 'master' of ssh://git.jonathanh.co.uk:2222/jab2870/dotfiles
4 years ago
Jonathan Hodgson
80cf21dcf4
Adds ip addresses to phone status notification
4 years ago
Jonathan Hodgson
8622794068
SMS messages should now print properly to files with wierd chars
4 years ago
Jonathan Hodgson
0d13928595
Make call will now default to +44 if the number starts with a 0
4 years ago
Jonathan Hodgson
b1fd37754b
Fixes missed calls menu
...
Selecting a missed call will now call it correctly if the contact is in
the address book
4 years ago
Jonathan Hodgson
c92f58859d
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
4 years ago
Jonathan Hodgson
b943a3e03b
Fixes bug where it would try and test an empty line
...
Thanks Rob Norman for reporting and helping debug.
4 years ago
Jonathan Hodgson
ed0817f6b5
Merge branch 'master' of ssh://git.jonathanh.co.uk:2222/jab2870/Dotfiles
4 years ago
Jonathan Hodgson
5ed6dc194c
Adds Lexima and ultisnips
...
Lexima auto-closes brackets and quotes etc.
4 years ago
Jonathan Hodgson
6dec897849
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
4 years ago
Jonathan Hodgson
b568784db3
Adds missed calls list to phone menu
4 years ago
Jonathan Hodgson
30d0c1d6ac
Fixes alsa default config
4 years ago
Jonathan Hodgson
4aadb457b2
Adds systemd scripts for hardware access and modem
4 years ago
Jonathan Hodgson
d37cbdd99c
Sets wallpaper if ~/Pictures/wallpaper exists
4 years ago
Jonathan Hodgson
690cbf71f9
Changes to rofi config for menu system
4 years ago
Jonathan Hodgson
43f0dd09bc
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.
4 years ago
Jonathan Hodgson
72ecf44743
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
4 years ago
Jonathan Hodgson
ec6bad4c1a
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
4 years ago
Jonathan Hodgson
c6a0909917
BIN: analyse-headers: Will attempt to decode F5 Cookies
...
Thanks <Huw Edwards> for the idea and help implementing it.
4 years ago
Jonathan Hodgson
0fec84e1f1
Merge branch 'master' of ssh://git.jonathanh.co.uk:2222/jab2870/Dotfiles
4 years ago
Jonathan Hodgson
12830226e8
adds getnpmversion
4 years ago
Jonathan Hodgson
aaf3baa610
Rename lookup-contact to contact-numbers and fix new lines
4 years ago
Jonathan Hodgson
e625abc285
Adds early version of lookup contact script
4 years ago