Commit Graph

857 Commits

Author SHA1 Message Date
Mikaela Suomalainen
622896d455 bashrc & zshrc: remove useless else which broke bash 2014-10-02 09:23:53 +03:00
Mikaela Suomalainen
5811927ffe fix LC_ALL commits
9ba086d862 & ca6524346b

According to @nyuszika7h this should work on both Linux and OS X without
having that check.
2014-09-25 15:35:47 +03:00
Mikaela Suomalainen
2935cbdeb4 bashrc & zshrc: fix sysctl-mikaela-run
Closes #45
2014-09-25 13:44:32 +03:00
Mikaela Suomalainen
9ba086d862 fix previous commit
I forgot one space.
2014-09-24 22:05:33 +03:00
Mikaela Suomalainen
ca6524346b I hate OS X
(fi_FI.utf8 is not OK, it's fi_FI.UTF-8)
2014-09-24 22:00:34 +03:00
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
621f44daca chmod: remove useless variables & setfacl & wwwuser
setfacl was used to give HTTPd write permission, but setfacl cannot do
that, because it can only give permissions which group has and group has
only permissions to read and execute, not write.

Someone should check if things in this script are even sane.
2014-09-19 19:29:48 +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
1cec33227d install.run: don't overwrite existing ~/.oiden...
...td.conf
2014-09-10 11:51:48 +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
ec0300e69f vimrc: set hlsearch 2014-08-28 14:15:25 +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
3bd7a00166 tmux.conf: use UTF-8 2014-08-10 17:44:10 +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
726d96e334 Update .mailmap 2014-08-10 15:18:52 +03:00
Mikaela Suomalainen
e84930040a xinitrc: exec mate-session (closes #39)
I didn't notice that I aready have this file already when opening that.
2014-08-05 15:51:32 +03:00
Mikaela Suomalainen
09a7e9329a .keys/ssh: remove PuTTY key 2014-08-04 20:27:33 +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
0b84baae26 chmod: following fixes
* Be verbose
* fix command nesting
* chmod ~/public_html to 755 (for php)
* create netrc and set permissions to 600
2014-07-16 13:09:59 +03:00
Mikaela Suomalainen
63273e3895 bashrc & zshrc: add alias purgeconfig
Closes #38
2014-07-15 20:42:09 +03:00
Mikaela Suomalainen
b68b9702a7 gitconfig: cache passwords for 24 hours 2014-07-14 21:17:14 +03:00
Mikaela Suomalainen
7fc3defb6c gpg.conf: use mikaela.info in comments 2014-07-12 17:22:15 +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
af7c163735 Symlink bashrc & zshrc to .<shell>rc
They aren't used anywhere, but can possibly help testing.
2014-07-04 21:55:13 +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
ea14e834cb gitconfig: add alias cleandi & cleandix
* d = also remove untracked directories
* i = interactive
* x = don't care about gitignore.
2014-06-30 15:05:27 +03:00
Mikaela Suomalainen
24294aa325 Revert "vimrc: set textwitdh to 72"
This reverts commit 2ed372828f.
2014-06-30 14:44:54 +03:00
Mikaela Suomalainen
2ed372828f vimrc: set textwitdh to 72 2014-06-30 14:38:21 +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
72f384701e README.md: fix nesting. 2014-06-23 18:28:59 +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
107f78c517 inxi.conf colour scheme 28 --> 11.
28 looks nice with terminal and WeeChat, but apparently not with all
clients (HexChat for Windows).

11 looks also nice in terminal and WeeChat, but less nice with other
clients, but it can be lived with.
2014-06-20 21:08:31 +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
c0e4afadc3 vimrc: remove lines which vim doesn't like for some reason.
They worked with Devgan, but not with Weibef or lakka or some others.
2014-06-15 09:59:48 +03:00