Commit Graph

219 Commits

Author SHA1 Message Date
2e6a03d402
sastisfy editorconfig check 2023-02-21 19:08:54 +02:00
96081bb9b0
rc/{bash,zsh]: alias vim to nvim
Resolves: #151
2023-02-15 13:47:57 +02:00
b2b2689296
rc: retab 2023-02-15 13:29:55 +02:00
5c2b24ba6e
{bash,zsh}rc: continue advice to self 2022-07-29 19:24:28 +03:00
3d55933fb1
{bash,zsh}rc: add newline to end of fd735465d5 2022-06-15 20:20:37 +03:00
fd735465d5
Resolve #143 2022-06-13 17:18:15 +03:00
8d78a8d50f
{bash,zsh}rc: add alias for diff colours
Resolves: #136
2022-05-10 22:53:38 +03:00
d9aaf05959
{bash,zsh}rc: recreate alias startsway, add startplasma, it will be a script 2022-04-15 18:51:35 +03:00
72b7da44ee
{bash,zsh}rc: add aliases for startsway etc.
Resolves: mikaela/scripts#36
2022-04-15 11:54:02 +03:00
3e41121fa6
rc/{bash,zsh}rc: add function ssh-verify-file
Resolves: #125
2022-03-17 15:00:15 +02:00
f1fc93414a
rc/{bash,zsh}rc: add alias ssh-sign-file
Resolves: #125
2022-03-17 14:56:50 +02:00
b612a16731
{bash,zsh}rc: simplify/uncomment fineid alias 2022-03-17 14:53:54 +02:00
8e28c013d5
add a couple of git verify-commit HEAD
I am uncertain of the usefulness of this and think it may be a security
theathre with all this being poor practice anyway, but at least it's out
of my head now.
2022-03-15 21:17:08 +02:00
0afaf23bb1
{bash,zsh}rc: update & comment out ssh-add aliases 2022-01-02 00:01:57 +02:00
85b33cf5f6
{bash,zsh}rc: add motto
Resolves: Mikaela/mikaela.github.io#265 (GitHub)
2021-11-19 10:13:16 +02:00
43f8915184
{bash,zsh}rc: remove sks aliases 2021-06-24 16:54:21 +03:00
d60b12c105
{bash,zsh}rc: add udp to netstat-listening-ports alias 2020-12-17 08:05:52 +02:00
e7dee8ee42
shellrc: alias alsamixer file if it exists 2020-10-26 19:19:18 +02:00
8ea8012153
shellrc: add fetching everything to update function 2020-06-11 15:45:36 +03:00
0a4f9ca830
rc: add sleep 10 to shell-things function
which is the weak point and this is a band-aid that won't fix it
2020-05-30 13:58:14 +03:00
Mikaela Suomalainen
27b6e51703
shellrc: group Python & add venv alias(es)
Resolves: #70
2020-05-29 14:12:54 +03:00
316211f973
rc: add gpg-dkr-recv alias for Debian keyring key receiving
It being only for @debian.org email holders, I am unlikely to have need
of doing anything else than receiving keys, especially with
https://keyring.debian.org/ instructions of not uploading anyone else's
keys or their signatures as opposed to Ubuntu keyserver which is more
public and required for Launchpad.net (if it supported Ed25519 keys)...

Resolves: #68
2020-05-10 00:51:02 +03:00
1dcb9cbb9e
shellrc: add dircolors Selenized fix 2020-05-02 13:43:23 +03:00
84b1689b27
shellrc: add aliases mpvm & mpvms
Resolves: #66
2020-04-05 18:08:20 +03:00
26bc9018fd
{bash,zsh}rc: rename $USER.agent -> $USER.sshagent 2020-03-03 21:31:07 +02:00
1e707dd586
{bash,zsh}rc: use gpg for ssh, if it has sshcontrol
Resolves: #60
2020-03-03 21:18:21 +02:00
814e39727b
{bash,zsh}rc: improve transmission-magnet ()
* grep is no longer an alias removing the excess colour
* awk removes the `Magnet: ` part from the beginning
2020-02-26 20:06:52 +02:00
82824d0932
shellrcs: add gpg-sks aliases 2020-02-18 15:01:42 +02:00
a9095a0619
gpg export aliases, resolves: #58 2020-02-16 17:59:06 +02:00
c2403559bf
shellrc: add WKD, Ubuntu keyserver & netstat aliases
Resolves: #30
Resolves: #48
Resolves: #57
2020-02-15 19:10:05 +02:00
1d2cb235d2
begin cleaning up bash/zshrcs 2020-02-13 14:14:33 +02:00
aca3ee253d
rc: update inxi aliases
However I am still not certain of their security and wouldn't recommend
them.
2020-01-02 19:55:44 +02:00
2ae5bc334d
rc: sed -i 's/http\:\/\//https\:\/\//g' * 2020-01-02 16:08:42 +02:00
5870a042cd
shellrcs: fix comment typo, add alias linux-check-cpu-vulns
Closes: #22
2019-08-26 20:31:41 +03:00
ba243778d5
rc: change repository origin 2019-08-16 17:51:43 +03:00
95519f48b8
bashrc & zshrc: add acme.sh support
Resolves: #128
2019-08-09 19:47:27 +03:00
758e8dbd06
bash&zshrc: comment especially dangerous gpg alias
I am not sure I would encourage running that and I think the package
maintainers are better updaters than I am.

Ref: #119
2019-06-29 22:33:50 +03:00
Cyaniventer
0ca856669c
bashrc&zshrc: fix youtube-dl deprecation warning
Manually applying PR #110

Resolves #100
2019-04-04 20:43:38 +03:00
544f734617
bashrc & zshrc: alias startx="exec \startx"
I generally have the shortcut to kill Xorg enabled and last night I was
wondering what happens if I use it within i3lock.

The result was unlocked TTY and that was a gaping hole even if running
`startx` again presented me i3lock (I wonder how that works), but after
repeating the experiment with this alias I was thrown into TTY login
prompt.
2019-02-18 13:20:04 +02:00
b242822ee5
update PATH & make xinitrc source /etc/profile
Fixes flatpaks & snaps with dmenu
2019-02-17 21:59:20 +02:00
e0f1a39bac
bash|zshrc: don't alias pacman into wrapper
I think this may be teaching me bad habits and pacman directly on ALARM
seems lighter than yay.
2018-12-02 13:26:14 +02:00
d5b860737f
rc: s/pacaur/yay/g
Pacaur has been deprecated and I hope that yay which was suggested to
me at IRC does the same thing considering their README says:

> Yay is based on the design of yaourt, apacman and pacaur.
2018-11-26 14:43:14 +02:00
1ab66ecbe9
rc: update PATH
Cleanup directories that I have never seen used, add Go
2018-09-18 20:57:48 +03:00
d11ff89c85 shellrc: disable apt Happy Eyeballs workaround
I think apt has fixed it and this has started being more problem than
solution.

This just breaks my nice gpg signed streak :(

Signed-off-by: Mikaela Suomalainen <mikaela+git@mikaela.info>
2018-04-18 17:29:33 +03:00
cb26791aaa
rc: add -y to apg-random 2017-04-30 12:34:31 +03:00
db7d57ad1d
rc: prefer /snap/bin to other global dirs in $PATH 2016-05-15 20:34:29 +03:00
effccb7203
Revert "rc: prefer /bin/snap"
This reverts commit d22ae8718d.
2016-04-13 16:39:43 +03:00
d22ae8718d
rc: prefer /bin/snap 2016-04-13 16:27:46 +03:00
922aa18271
rc: add /snap/bin to $PATH
For snappy in classic Ubuntu 16.04 & possibly others in the future.
2016-04-13 16:08:31 +03:00
ed31e66bf3
bashrc & zshrc: add missing comment for git-squash 2016-04-11 09:55:27 +03:00
9ead3d6483 rc: run pacman with LANG=en 2016-03-06 15:09:37 +02:00
232388f405 rc: replace yaourt with pacaur 2016-03-06 13:24:06 +02:00
3fe4e821c2 aliases: remove gitg
gitg was good before GNOME 3, now it has just been losing functionality
every time I have happened to want to see graphical diff.
2016-01-14 16:56:42 +02:00
7395c20a47 rc: fix clear-apt-list-cache again
in our serious ugly hacks™
2015-11-14 12:48:13 +02:00
3808f9c98f rc: fix clear-apt-list-cache 2015-10-29 21:01:52 +02:00
ffe94ff7f4 bashrc & zshrc: sshguard with IPv6
Closes #85
2015-10-25 14:10:01 +02:00
0024333230 fix e86ceeccb6 2015-09-21 15:42:40 +03:00
e86ceeccb6 rc: *sslcertfp: also check sha512 sum 2015-09-21 15:41:19 +03:00
71e05ac396 rc: fix clear-apt-list-cache
with the && the operations are aborted in case they don't succeed
instead of just continuing until the end.
2015-09-12 10:01:57 +00:00
643119d972 rc: don't override sytem LANG & TZ
TZ is now $(date +%Z) for sending over SSH. LANG should be in system
settings and of course both can be overridden e.g.g in `.custom`.
2015-09-12 12:07:40 +03:00
b645f33592 bashrc: fix dynamic terminal title 2015-09-10 12:15:55 +03:00
ed0d6d663a don't use LC_ALL
According to ArchWiki, LANG sets LC_* which aren't explicitly set and
LC_ALL is meant for testing/troubleshooting only.
2015-09-05 23:39:16 +03:00
359a4becb8 rc: remove OS X specific ssh-add
OS X OpenSSH doesn't work with VerifyHostKeyDNS=yes, so it OpenSSH must
be installed from Homebrew or MacPorts which (at least Homebrew) don't
support the flag to add the key to keychain.
2015-08-31 09:25:11 +03:00
090f4154d6 rc: add $HOME/.linuxbrew/<bin|sbin|games> to $PATH
To symlink it to sdcard on Sailfish
2015-08-28 08:03:44 +03:00
b34a567af7 rc: alias winkey
The xxd method, because it's easier to alias. Closes #81
2015-08-22 15:13:22 +03:00
b2eaca582a rc: fix serversslcertfp function
Thanks @mgeedmin from Mikaela/mikaela.github.io#69

Other functions must still be checked probably.

Closes #82
2015-08-20 18:56:33 +03:00
198f311303 rc: fallback to curl with myip
Closes #80

Possibly broken somehow.
2015-07-31 18:07:54 +03:00
386f39939c rc: workaround for apt Happy Eyeballs
Closes #65
2015-07-22 15:51:20 +03:00
0ed6eeab93 rc: alias apt-builddep
Closes #66
2015-07-22 15:41:26 +03:00
2faf5b5ae9 rc: add $HOSTNAME for znc --makepem 2015-07-22 15:39:26 +03:00
b1a9ac28dc rc: sources-list-install-debian
ref #78
2015-07-12 11:01:45 +03:00
e1143ca6ca rc: drop ubuntu from sources-list-install
ref: #78
2015-07-12 10:55:26 +03:00
0a8c630265 http.debian.net --> httpredir.debian.org
I was told that it moved and moving to debian.org means that it's now
officially supported :)
2015-07-06 15:18:25 +03:00
9548a81b7b fix previosu commit 2015-06-24 20:06:54 +03:00
854cf35dbb rc: make mtrp execute mtrp4 & mtrp6
Closes #77
2015-06-24 20:03:40 +03:00
9647a6e370 rc: remove the ffmpeg lines
the deprecation was decided by only one person at debian and it's
already being regret apparently. I don't have link at hand now, but this
removes one entry from my todo
2015-06-22 16:02:27 +03:00
60435533d5 rc: git squash
Closes #72
2015-06-12 19:30:23 +03:00
d8c078a45e rc: managing transmission-daemon
Or in other words getting out list of torrents and magnet links.

Closes #71
2015-06-12 19:28:10 +03:00
0026e81a45 rc: alias sailfish-nstatus
Closes #75
2015-06-12 18:20:15 +03:00
2d0e109227 rc: move Linuxbrew logs to ~/.cache/Homebrew/Logs
Ref: Homebrew/linuxbrew#406
2015-06-03 11:42:22 +03:00
3606e5f116 rc: add trailing space to myip's
`2015-06-01 22:12:20+0300 < jima> without the trailing dot you run the
risk of it appending the search domain from dhcp, which, in some cases,
can have "interesting" results`
2015-06-02 08:18:56 +03:00
4b3708d888 rc: also use clang with homebrew/linuxbrew
ref:
https://github.com/Homebrew/linuxbrew/issues/415#issuecomment-106058234
2015-05-28 07:01:39 +03:00
e1d873213f rc: disable ~/Library with Homebrew
Ref: Homebrew/linuxbrew#406
2015-05-13 20:59:54 +03:00
38c0722ba3 rc: add RubyGems to $PATH
via https://wiki.archlinux.org/index.php/ruby#RubyGems
2015-04-29 16:58:40 +03:00
e7eb3fcba7 rc: remove pyenv 2015-04-29 16:53:29 +03:00
290651584d rc: add ixio alias for ix.io 2015-04-26 18:20:21 +03:00
79edef13b7 rc: unalias info 2015-04-22 23:45:26 +03:00
664924093c rc: merge/remove duplicate aliases
grep was having two to three aliases and one of them disabled colours.
2015-04-22 22:55:12 +03:00
3b976e3cd4 move sysctl from \*rc functions to etc/sysctl.p/ 2015-04-22 22:20:30 +03:00
8133ac4034 rc: chrome-* & ssldownloadcert functions
Closes #67
2015-04-22 19:21:03 +03:00
789ad89c01 rc: sysctl-mikaela: decrease vm.swappiness to 1
Performance is better with swap being used only when it's needed and Pi
OSes use it too and it's not so much better on external HDDs than on SD
cards...
2015-04-21 15:11:10 +03:00
5ff4032a93 separate profile from bashrc 2015-03-28 18:36:06 +02:00
fc43bdab3c rc: add depth=1 to \*brew 2015-03-23 11:59:59 +02:00
f6e0aa1a1e rc: fix #68 2015-03-22 18:27:42 +02:00
0d2c495809 rc: replace apg with pwgen
and don't ask questions about the alias still being apg-random!
2015-03-15 19:59:25 +02:00
641ce56cdc rc: serversslciphers: add -Pn to nmap 2015-03-08 19:42:51 +02:00
e2a3c0f2eb rc: improve geoip to also check IPv6 2015-03-04 13:04:32 +02:00
8a48996008 rc: update serversslcertfp
Closes #64
2015-02-27 12:49:31 +02:00
dfc227e575 rc: use --system with sysctl instead of -p 2015-02-22 14:09:53 +02:00
877e8a59cb rc: sysctl-mikaela-run: use sysctl.d 2015-02-22 11:41:15 +02:00
51d5ecd91d bashrc & zshrc: alias lowernocolon
Closes #61
2015-02-12 13:59:33 +02:00
8c0a89be50 bashrc & zshrc: sslgenpem (#61) 2015-02-12 13:56:40 +02:00
22f7b3570d bashrc & zshrc: serversslciphers
closes #60
2015-02-09 13:54:42 +02:00
7ad43844ab rc: sslcertfp
gives local certificate file in MD5, SHA1 and SHA256, same as
serversslcertfp.
2015-02-03 09:14:26 +02:00
68f059e025 fix cd52395737 2015-02-02 13:34:09 +02:00
cd52395737 rc: add connman-wlans
Closes #58
2015-02-02 12:32:20 +02:00
a6135f8cb2 rc: use OpenDNS for myip* 2015-02-01 13:32:50 +02:00
2560e7a2a9 rc: add multicat
cat multiple files including filenames
http://stackoverflow.com/a/7816490
2015-01-27 11:12:18 +02:00
4766724ba4 rc: fix #56 2015-01-20 19:45:03 +02:00
Mikaela Suomalainen
42428e00ca rc: rewrite serversslcertfp(()
Also remove unneeded functions.

Closes #55
2015-01-13 20:23:23 +02:00
Mikaela Suomalainen
13d1f9edd7 rc: alias lynx="lynx -accept_all_cookies" 2015-01-07 09:30:52 +02:00
Mikaela Suomalainen
098d3ebb49 bashrc & zshrc: fix isodate
now it's `date -Is`, the old method is available by adding a to the end.
2015-01-05 20:50:32 +02:00
Mikaela Suomalainen
0d2e0dd387 rc: mtrp: use 10 pings 2014-12-30 18:35:40 +02:00
Mikaela Suomalainen
6dd5f2aabd bashrc & zshrc: update sysctl functions 2014-12-29 12:37:05 +02:00
Mikaela Suomalainen
fbf05c8f72 rc: fix clear-apt-list-cache
this might make a little more dangerous thought…
2014-12-28 18:31:45 +02:00
Mikaela Suomalainen
3d1b5adf01 rc: add clear-apt-list-cache
Closes #50
2014-12-28 09:22:31 +02:00
Mikaela Suomalainen
e677c9f11a rc: fix shell-things function 2014-12-27 11:22:48 +02:00
Mikaela Suomalainen
a4ce5a832d rc: update sources.list function 2014-12-27 11:14:50 +02:00
Mikaela Suomalainen
80d8b28cc9 Rearranging (#52) 2014-12-27 11:01:16 +02:00