Commit Graph

219 Commits

Author SHA1 Message Date
Mikaela Suomalainen
632c4e8e56 bashrc & zshrc: fix one of homebrew errors. 2014-04-30 22:57:13 +03:00
Mikaela Suomalainen
d7a52ad82f bashrc & zshrc: add homebrew-install for OS X. 2014-04-30 22:50:44 +03:00
Mikaela Suomalainen
8b4248c53c bashrc & zshrc: fix pyenv-install 2014-04-30 21:53:00 +03:00
Mikaela Suomalainen
d6a94566c9 bashrc & zshrc: pyenv is better than lpip. 2014-04-30 20:46:02 +03:00
Mikaela Suomalainen
e9fc643d32 bashrc & zshrc: use pyenv-installer instead of my alias. 2014-04-29 15:47:53 +03:00
Mikaela Suomalainen
0f301848ff bashrc & zshrc: check that we have pyenv before trying to apply it. 2014-04-29 15:29:50 +03:00
Mikaela Suomalainen
77c2a6f864 fix previous commit 2014-04-29 15:25:52 +03:00
Mikaela Suomalainen
0b4178a598 bashrc & zshrc: configure for pyenv. 2014-04-29 15:23:54 +03:00
Mikaela Suomalainen
d646353eb2 fix previous commit 2014-04-21 11:13:02 +03:00
Mikaela Suomalainen
f98f9a9fca bashrc & zshrc: make aptitude suggest apt-* for me. 2014-04-21 10:18:41 +03:00
Mikaela Suomalainen
f71637fcaa bashrc & zshrc: enable apt progress bar from apt man page.
·   The option DPkgPM::Progress-Fancy is enabled.
2014-04-21 10:11:33 +03:00
Mikaela Suomalainen
d40f136141 bashrc & zshrc: comment lines aliasing apt-* and aptitude to apt.
apt doesn't have anything else nice than colours and progress bar and
they are enabled to aptitude and apt-* by shell-things now.
2014-04-20 21:54:29 +03:00
Mikaela Suomalainen
c34279aad8 bashrc & zshrc: enable apt colours. 2014-04-20 21:39:30 +03:00
Mikaela Suomalainen
f2180e81bb bashrc & zshrc: don't install with lpip*!
I have put install there accidentally, I think.
2014-04-20 20:53:52 +03:00
Mikaela Suomalainen
65b7b67938 bashrc & zshrc: there is probably no reason to do same with Fedora.
If dnf exists, alias yum=dnf .
2014-04-20 18:07:32 +03:00
Mikaela Suomalainen
d3534b1370 bashrc & zshrc: if apt exists, use it!
Alias aptitude, apt-get and apt-cache to apt if /usr/bin/apt exists.
2014-04-20 13:12:54 +03:00
Mikaela Suomalainen
fe2f84234f bashrc & zshrc: fix my weird apt*up aliases that I haven't ever used. 2014-04-20 13:04:56 +03:00
Mikaela Suomalainen
38f87d6933 bashrc & zshrc: enable apt process bar.
If we are as root, mkdir -p /etc/apt/apt.conf.d and run the command
echo 'Dpkg::Progress-Fancy "1";' > /etc/apt/apt.conf.d/99progressbar .

This is untested and I am unsure what does OS X think about this, but I
don't have OS X anywhere, so I might not care about it so much.
2014-04-20 12:37:56 +03:00
Mikaela Suomalainen
112f31e6f1 bashrc & zshrc: ugly hack
Attempts to fix FINEID related aliases on non-32-bit systems.
2014-04-14 18:56:24 +03:00
Mikaela Suomalainen
c4ac3b9a8a bashrc & zshrc: add aliases related to fineid
ssh-add-sc adds identity card to ssh-agent.

ssh-add-sc-pub shows the public keys of identity-card.
2014-04-14 18:40:47 +03:00
Mikaela Suomalainen
4cf7d29cdd fix previous commit
zshrc was missing alias
2014-03-20 19:52:11 +02:00
Mikaela Suomalainen
4b91b5bdb6 bashrc & zshrc: add lmosha for telling mosh to use custom script as server.
This should fix local mosh at lakka.kapsi.fi.
2014-03-20 19:48:10 +02:00
Mikaela Suomalainen
c108b78939 fix previous commit
I don't want anyone to get stuck in /usr/local !
2014-03-18 11:23:25 +02:00
Mikaela Suomalainen
be300bcaba fix previous commit
Change && to ; so the man pages get installed even if inxi is already
installed. This command should only be ran while installing.
2014-03-18 10:24:35 +02:00
Mikaela Suomalainen
03d34531b4 bashrc & zshrc: fix inxi-install-root
Update inxi immediately after installation in order to install the
manual pages.
2014-03-18 10:20:42 +02:00
Mikaela Suomalainen
230be35525 bashrc & zshrc: add alias lpip3 (see previous commit). 2014-03-11 17:25:59 +02:00
Mikaela Suomalainen
a31a7b98fd bashrc & zshrc: add alias lpip to install packages locally.
locally = to one user ( $HOME/.local )
2014-03-11 17:17:37 +02:00
Mikaela Suomalainen
62c0c01745 bashrc & zshrc: exporting
Read the line above those...
2014-01-29 20:50:26 +02:00
Mikaela Suomalainen
e7ed943f82 bashrc & zshrc: add $HOME/tmcbeans/bin to $PATH
Required by MOOC ("MASSIVE OPEN ONLINE COURSES").
http://mooc.fi/
2014-01-24 17:32:35 +02:00
Mikaela Suomalainen
10d377f7cf bashrc & zshrc: if /usr/bin/xset exists, xset -b on
To enable beeping...
2014-01-22 22:08:38 +02:00
Mikaela Suomalainen
4beef9d012 Update zshrc 2014-01-17 13:27:46 +02:00
Mikaela Suomalainen
1a120b17ab Update zshrc 2014-01-17 13:25:16 +02:00
Mikaela Suomalainen
79fcf0477e Update zshrc 2014-01-17 13:24:26 +02:00
Mikaela Suomalainen
0a98c62d66 bashrc & zshrc: playing around with environment.
$beep and $BEEP

2014-01-15 14:28:44 +02:00
Mikaela Suomalainen
4f2ebc409d bashrc & zshrc: remove alias weechat=weechat-curses
Starting with version 0.4.2 the binary is called as weechat
and weechat-curses is symbolic link to it for compatibility.
2014-01-14 21:34:37 +02:00
Mikaela Suomalainen
14a1608707 bashrc & zshrc: fix alias inxi-install & add alias inxi-install-root
1. Previously the Alias failed if the directory ~/.local/bin didn't exist.
2. Add Alias inxi-install-root for global installation as root.
2014-01-14 19:08:53 +02:00
Mikaela Suomalainen
cb13e192a2 bashrc & zshrc: add inxi-install & inxi-update
Thanks to their easy installation instructions at https://code.google.com/p/inxi/wiki/Installation :)
2014-01-08 21:18:57 +02:00
Mika Suomalainen
6f6945bba5 bashrc & zshrc: alias ffmpeg to avconv 2013-05-06 17:20:36 +03:00
Mika Suomalainen
5a7f8ee5b9 fix previous commit
sysctl -f is needed for the update to take effect.
2013-04-26 14:01:50 +03:00
Mika Suomalainen
3ce88cd414 bashrc & zshrc: add alias fcorepattern & aptitudeyup...
fcorepattern sets core file name as I want and aptitudeyup is
aptitude version of aptyup.
2013-04-26 14:00:13 +03:00
Mika Suomalainen
da46792d17 fix previous commit 2013-04-15 12:24:12 +03:00
Mika Suomalainen
57d303f8b6 bashrc & zshrc: add apt-gety & aptitudey.
Debian side of yumyup.
2013-04-10 16:57:55 +03:00
Mika Suomalainen
4e788589e4 bashrc & zshrc: add upgrade aliases 2013-02-27 10:50:43 +02:00
Mika Suomalainen
81fd395637 bashrc & zshrc: duplicate some aliases that would be useful if I...
...remembered them.
2013-02-24 10:03:32 +02:00
Mika Suomalainen
628cb6d8d8 bashrc & zshrc: don't run who on Mac 2013-02-17 09:11:44 +02:00
Mika Suomalainen
d097b1a170 bashrc & zshrc: run visible commands on different lines
Meaning hostname, uptime and who
2013-02-17 09:06:07 +02:00
Mika Suomalainen
b6062f7f76 bashrc & zshrc: add empty line between output of uptime & who 2013-02-17 09:04:22 +02:00
Mika Suomalainen
8f67584df0 bashrc & zshrc: send output of ssh-agent to /dev/null 2013-02-17 09:02:07 +02:00
Mika Suomalainen
29c9cab7ae bashrc & zshrc: I am seeing messages even with that if-else... 2013-02-16 10:29:01 +02:00
Mika Suomalainen
7ecda2f30e bashrc & zshrc: make ssh-agent work on SSH sessions 2013-02-16 10:11:40 +02:00
Mika Suomalainen
c5a4ec0791 bashrc & zshrc: add "cwho" to commads run on start 2013-02-16 09:56:00 +02:00
Mika Suomalainen
302a796964 bashrc & zshrc: add alias cwho which is what I use with conky. 2013-02-16 09:52:19 +02:00
Mika Suomalainen
125863565c do not set display 2013-02-10 20:34:50 +02:00
Mika Suomalainen
5146f94d1a bashrc & zshrc: add alias rss for reset.
It's easier to type using phone or tablet with VX Connectbot. I have
need to reset on those devices very often.
2013-02-10 13:12:52 +02:00
nyuszika7h
0716ec9731 zshrc: help @Mkaysi to add exit status to prompt 2013-02-09 16:46:22 +02:00
Mika Suomalainen
444acd5675 bashrc & zshrc: add alias weechat-version for displaying weechat comp...
...ile date / commit id. Fixes #15
2013-02-06 16:23:20 +02:00
Mika Suomalainen
52c472114e zshrc: do same as to bashrc in previous commit 2013-02-04 16:11:30 +02:00
Mika Suomalainen
deb659dbe3 fix previous commit 2013-02-04 11:08:01 +02:00
Mika Suomalainen
b027b2bb0a zshrc: remove weird/broken history things 2013-02-04 11:00:19 +02:00
Mika Suomalainen
9403ab5bb6 add suu* alias.
Suu is Finnish and means mouth.
2013-02-04 10:52:58 +02:00
Mika Suomalainen
4aeda02bc8 bashrc & xsessionrc & zshrc: fix $PATH 2013-02-02 18:26:32 +02:00
Mika Suomalainen
9dce46734a fix previous commit 2013-01-19 12:30:25 +02:00
Mika Suomalainen
f01c4e46e0 bashrc & zshrc: add aliases to prefer curl in fedora utils & install fedora utils 2013-01-19 11:21:56 +02:00
Mika Suomalainen
228de9b517 bashrc & zshrc: add some systemd aliases 2013-01-14 18:13:46 +02:00
Mika Suomalainen
33a00e4593 bashrc & zshrc: yum -y and -n aliases. yummy yummn yumy yumn 2013-01-01 21:13:27 +02:00
Mika Suomalainen
b6e8a10954 alias ssu="sudo -i" 2013-01-01 11:30:37 +02:00
Mika Suomalainen
64aafd4447 bashrc & zshrc: (almost) unlimited history + time stamps in history 2012-12-31 23:00:59 +02:00
Mika Suomalainen
815ee86a4e bashrc & zshrc: use human friendly units with ll 2012-12-31 22:07:43 +02:00
Mika Suomalainen
6935c8a7f1 zshrc: fix mysterious error that happens when nothing is wrong 2012-12-31 12:16:46 +02:00
Mika Suomalainen
0919eab0d2 zshrc: fix previous commit 2012-12-31 12:10:30 +02:00
Mika Suomalainen
bf8c83dadb zshrc: fix one line & hopefully fix previous commit 2012-12-31 12:06:22 +02:00
Mika Suomalainen
71e7e2a740 fix previous commit ? 2012-12-31 12:01:47 +02:00
Mika Suomalainen
066b923dec zshrc: fix "bad pattern" 2012-12-31 11:56:34 +02:00
Mika Suomalainen
4f89ce01d1 bashrc & zshrc: Don't alias ls on Mac OS X 2012-12-31 11:44:32 +02:00
Mika Suomalainen
a3e3a42b2c zshrc: set $UNAME enough early for everything! 2012-12-30 11:26:59 +02:00
Mika Suomalainen
7c3d98f72c bashrc & xsessionrc & zshrc: fix PATH, I discovered that Fedora symli...
...nks /bin/ to /usr/bin/ and /sbin/ to /usr/sbin/
2012-12-30 11:14:40 +02:00
Mika Suomalainen
f5ebbabf72 bashrc & zshrc & xsessionrc: add $HOME/bin to $PATH 2012-12-28 14:41:19 +02:00
Mika Suomalainen
887df4a5ed bashrc & zshrc & xsessionrc: type PATH my myself for fun (ends to :$PATH) 2012-12-28 14:35:54 +02:00
Mika Suomalainen
2ca928f147 *rc: set my only screens 2012-12-26 19:02:58 +02:00
nyuszika7h
105079627b fix previous commits 2012-12-25 11:33:50 +02:00
Mika Suomalainen
b37ce2d19f fix previous commit 2012-12-25 11:27:16 +02:00
Mika Suomalainen
a25ad9584f zshrc: fix error 2012-12-25 11:25:23 +02:00
Mika Suomalainen
661db21fc8 zshrc: fix error about dircolors not found on Mac. (git commit --amend) 2012-12-24 20:04:52 +02:00
Mika Suomalainen
3952e9973d bashrc & zshc & xsessionrc: Set update interval to 1 day on Mac.
Fixes #13
2012-12-24 19:15:02 +02:00
Mika Suomalainen
2479d7971a bashrc & zshrc: automatically enable hidden files + airdrop on Mac.
Almost fixes #13
2012-12-24 18:59:14 +02:00
Mika Suomalainen
f331acbdf5 bashrc & zshrc & xsessionrc: add MacPorts into $PATH 2012-12-24 18:33:22 +02:00
Mika Suomalainen
92f6b5acc9 bashrc & zshrc: Use pinfo instead of info & add -R flag to less 2012-12-22 21:17:56 +02:00
Mika Suomalainen
48221d6c82 bashrc & zshrc: add colours to less 2012-12-21 15:24:51 +02:00
Mika Suomalainen
cf0bcb71a9 bashrc & zshrc: always use colours with ls 2012-12-21 15:11:11 +02:00
Mika Suomalainen
25e2d2e1a5 zshrc: MKAYSIGREP 2012-12-21 14:24:44 +02:00
Mika Suomalainen
efad90ed79 chmod -x *rc 2012-12-21 13:11:16 +02:00
Mika Suomalainen
07ec091695 bashrc & zshrc: add some tar aliases 2012-12-21 12:54:59 +02:00
Mika Suomalainen
6ecb07406b bashrc & zshrc: add alias to reset Yum timedhosts (Fedora 17 only?)
I will probably keep it updated to the latest stable Fedora release,
because Fedora doesn't have LTS.
2012-12-21 12:44:13 +02:00
Mika Suomalainen
bf3cef0bf1 bashrc & zshrc: add mkhiso & yum-unlock aliases 2012-12-09 14:08:31 +02:00
Mika Suomalainen
05096811da bashrc & zshrc & recommends: remove the rot13 function. Better one is in bsdgames. 2012-11-04 12:15:02 +02:00
Mika Suomalainen
530e9d5e30 bashrc & zshrc: add alias supybot-generate-messages.pot-mass to generate messages.pot file for all plugins at the same time 2012-10-07 18:25:38 +03:00
Mika Suomalainen
637a58beb0 bashrc & zshrc & warnings: add unixle and msdosle to convert line endings. 2012-09-23 10:27:29 +03:00
Mika Suomalainen
d445ee82bb bashrc & zshrc: move uname to the top 2012-09-16 15:27:48 +03:00
Mika Suomalainen
3fedadcdc4 bashrc & zshrc: Fix order of lines & add uname=uname
I will use $uname somewhere later.
2012-09-16 15:24:34 +03:00
Mika Suomalainen
b8549e770a bashrc & zshrc: add alias "git-committers" to see committers of repository. 2012-09-15 11:01:06 +03:00