Commit Graph

240 Commits

Author SHA1 Message Date
Mikaela Suomalainen
d4b917a3e9 bashrc & zshrc: add functions to set sysctl...
...how I want.
2014-09-24 17:14:36 +03:00
Mikaela Suomalainen
78695eb73c bashrc & zshrc: don't unset CC & CXX
I am not sure what I was thinking when I wrote that.

What if compiler isn't gcc or clang, but gcc is default?
2014-09-23 09:06:03 +03:00
Mikaela Suomalainen
b9c52c921d bashrc & zshrc: use clang when installed
clang sounds interesting and ZNC and WeeChat have automatic testing for
it and I have successfully compiled Python with it. Setting bash/zshrc
to use it seems like a good way to test what support it and what
doesn't.
2014-09-20 00:08:16 +03:00
Mikaela Suomalainen
39899096cd bashrc & zshrc: add rcp & rmv
cp & mv using rsync
2014-09-13 11:26:28 +03:00
Mikaela Suomalainen
3b0b021c7f bashrc & zshrc: add supybot-check-core-trans
Check translations of Limnoria's core.
2014-09-11 09:37:33 +03:00
Mikaela Suomalainen
d9ec51a587 Revert "bashrc & zshrc: fix supybot aliases."
This reverts commit f5f62492ec.
2014-09-11 09:33:33 +03:00
Mikaela Suomalainen
6f6b189b6c bashrc & zshrc: add apg-random
alias to generate random passwords with small letters, capital letters
and numbers of specified length.
2014-09-11 09:32:02 +03:00
Mikaela Suomalainen
e22c3805ea bashrc & zsh: use shorter format for TZ 2014-09-06 10:12:43 +03:00
Mikaela Suomalainen
0f0be71e41 bashrc & zshrc: add flood of pip aliases
closes #44
2014-09-04 13:27:56 +03:00
Mikaela Suomalainen
94ddfe0702 bashrc & zshrc: update myip4 2014-08-28 15:23:29 +03:00
Mikaela Suomalainen
dee51754e7 bashrc & zshrc: mtrp
* mtrp - IPv<default>
* mtrp4 - IPv4
* mtrp6 - IPv6
2014-08-15 21:35:53 +03:00
Mikaela Suomalainen
4f09d09be3 bashrc & zshrc: add alias mtrp (closes #40) 2014-08-15 17:54:33 +03:00
Mikaela Suomalainen
843ac0a524 bashrc & zshrc: fix #36
pyenv should now always build Pythons with `--enable-shared`.
2014-08-10 15:42:09 +03:00
Mikaela Suomalainen
00f0b6b146 bashrc & zshrc: Function to erase mbr (or echo it)
Closes #41
2014-07-30 20:40:44 +03:00
Mikaela Suomalainen
2bddcb6495 bashrc & zshrc: add sprungeus command (closes #43) 2014-07-30 20:34:51 +03:00
Mikaela Suomalainen
1669a6657e bashrc & zshrc: make yle-dl Windows-friendly
Closes #42
2014-07-30 20:23:13 +03:00
Mikaela Suomalainen
15f48cdf05 bashrc & zshrc: fix aliases pythonX-httpd
Both pointed to `python`, not `python2` and `python3`.
2014-07-18 14:45:46 +03:00
Mikaela Suomalainen
78c6507918 bashrc & zshrc: add ssh-regen-host-keys function
Closes #37
2014-07-17 16:05:42 +03:00
Mikaela Suomalainen
63273e3895 bashrc & zshrc: add alias purgeconfig
Closes #38
2014-07-15 20:42:09 +03:00
Mikaela Suomalainen
9e3c06c8fb bashrc & zshrc: disable the slowing alias. 2014-07-10 16:38:18 +03:00
Mikaela Suomalainen
9af6fc1f54 bashrc & zshrc: always prefer to gpg2
* keybase
* not only MKAYSIGREP
2014-07-10 11:04:55 +03:00
Mikaela Suomalainen
5e7b3ff858 bashrc & zshrc: fix ssh-add-sc
See also issue #32 .
2014-07-09 17:07:47 +03:00
Mikaela Suomalainen
dc51cf6dd3 bashrc & chmod & install.run & zshrc: make more
sense
2014-07-04 23:26:06 +03:00
Mikaela Suomalainen
4dd860d483 bashrc & zshrc: run finding of pkcs11so
in the background. See #32 which this might fix.
2014-07-04 21:50:46 +03:00
Mikaela Suomalainen
53d31a2f9e bashrc & zshrc: fix $PATH
* /sbin/ was before /usr/sbin which prevented molly-guard from working.
2014-06-30 19:26:20 +03:00
Mikaela Suomalainen
2bb9eb9f97 bashrc & zshrc: add tmuxeattach. Closes #34 .
tmux emergency attach. I didn't think of any better name.
2014-06-28 08:04:03 +03:00
Mikaela Suomalainen
abb85e3393 bashrc & zshrc: add function fix-autostart.
* Creates and chmods autostart directories as 755.
    * ~/.config/autostart
    * /etc/xdg/autostart
        * Only if we are root.
2014-06-22 11:17:48 +03:00
Mikaela Suomalainen
6205f7a6db bashrc & zshrc: remove trailing ":" from $PATH.
Source: first comment to the answer linked in this file.
2014-06-15 10:03:20 +03:00
Mikaela Suomalainen
d9527e7215 bashrc & zshrc: add alias "maken".
* `make -j$NPROC`
2014-06-07 19:53:29 +03:00
Mikaela Suomalainen
901f41a9b4 bashrc & zshrc: add alias peminfo (shows information on .pem file).
It seems that autoretab happened too.
2014-06-05 16:36:20 +03:00
Mikaela Suomalainen
c86e1c496f bashrc & zshrc: remove make mess.
npm is failing, because of it.
2014-05-31 14:34:58 +03:00
Mikaela Suomalainen
140beca6af bashrc & zshrc: add aliases isodate & isodateu.
They show date in ISO 8601 format.
2014-05-31 00:02:01 +03:00
Mikaela Suomalainen
885447efe8 fix previous commit 2014-05-30 00:01:03 +03:00
Mikaela Suomalainen
a2f59accb2 bashrc & zshrc: add aliases for showing changelog.
* git-changelog
* git-changelog-color
2014-05-29 23:56:44 +03:00
Mikaela Suomalainen
f5f62492ec bashrc & zshrc: fix supybot aliases. 2014-05-29 20:45:17 +03:00
Mikaela Suomalainen
a502ad5201 bashrc & zshrc: don't repeat the PATH so much.
Copied from http://unix.stackexchange.com/a/14896 .
2014-05-29 20:28:25 +03:00
Mikaela Suomalainen
418bb8662f bashrc & zshrc: read through.
Changes can be seen in the diff and I the only thing I checked is that
bash and zsh start without errors.
2014-05-29 16:02:08 +03:00
Mikaela Suomalainen
601d40aed8 zshrc: specify UNAME. Fixes #33 . 2014-05-29 15:39:41 +03:00
Mikaela Suomalainen
e51dec19b0 bashrc & zshrc: add alias gpg-fix-tty. 2014-05-28 19:20:12 +03:00
Mikaela Suomalainen
f896c88e89 bashrc & zshrc: don't wait for hostname, uptime & who & last. 2014-05-23 09:49:50 +03:00
Mikaela Suomalainen
b34475c13c bashrc & zshrc: dd some stupid aliases. 2014-05-22 15:05:16 +03:00
Mikaela Suomalainen
bf2f30260f fix reset-unity 2014-05-22 12:11:44 +03:00
Mikaela Suomalainen
3d75971df5 bashrc & zshrc: add reset- aliases. Closes #29 . 2014-05-22 12:05:13 +03:00
Mikaela Suomalainen
38a58a954e bashrc & zshrc: use $() instead of ``. Closes #30 . 2014-05-22 11:31:14 +03:00
Mikaela Suomalainen
728c90529e bashrc & zshrc: use -F instead of -f with tail in follow alias. 2014-05-16 17:30:09 +03:00
Mikaela Suomalainen
4b9d243237 set MAKE_OPTS 2014-05-16 16:11:27 +03:00
Mikaela Suomalainen
dfa3b55d0f bashrc & zshrc: unset MAKE.
Closes #28 .
2014-05-16 16:08:50 +03:00
Mikaela Suomalainen
045b15faf4 Fix #22. Use find instead of locate. 2014-05-13 16:39:06 +03:00
Mikaela Suomalainen
98e8b008c6 fix previous commit
zshrc missed one a in alias.
2014-05-13 16:00:13 +03:00
Mikaela Suomalainen
bc966efe0b bashrc & zshrc: convert osx-functions to aliases.
defaults has sanity checks, I belive.
2014-05-13 15:58:09 +03:00