Commit graph

43 commits

Author SHA1 Message Date
Rodolphe Breard
21fdef6f86 Correct the export guards. 2016-06-28 23:14:30 +02:00
Rodolphe Breard
9e7ff8c226 Add guards before exporting the GPG Agent env variables. 2016-06-28 23:09:07 +02:00
Rodolphe Breard
17f6bb0801 Upgrade the way GPG agent is handled.
GnuPG 2.1.13 now uses "/run/user/$UID/gnupg/" as the default sockets
directory. This commit both update the path and cleans the way it was
handled by bash and zsh (why the hell was that done in different ways?).
https://lists.gnupg.org/pipermail/gnupg-announce/2016q2/000390.html
2016-06-28 22:54:29 +02:00
Rodolphe Breard
5ce82d1642 Move bash and zsh aliases into a common file and functions to scripts.
Having two sets of aliases is hard to manage, therefore merging bash and
zsh aliases prevents duplicate content.
Some functions set with those aliases needs to be run with sudo and
therefore keeping them as functions does not work. Hence, they have been
moved into scripts located in a new dedicated "bin" folder.
https://serverfault.com/questions/177699/how-can-i-execute-a-bash-function-with-sudo
2015-11-02 23:47:10 +01:00
Rodolphe Breard
1a26a0a2b1 Add a script to update pacman's mirror list. 2015-11-02 23:01:08 +01:00
Rodolphe Breard
c90e95f787 Print the error message in stderr instead of stdout. 2015-11-02 22:08:37 +01:00
Rodolphe Breard
7b89640777 Add the clean command.
Sometimes it is useful to remove temporary files from a directory. I
used to do this with a shell script located in /usr/bin/, however that
wasn't very convenient. Putting the script in the .zshrc allows to
maintains the very small script with all the dotfiles instead of copying
the script from machines to machines.
2015-11-02 22:02:04 +01:00
Rodolphe Breard
6b99ba306b Improving the prompt choice layout. 2015-10-20 13:52:26 +02:00
Rodolphe Breard
3781c6ffc7 Reindenting .zshrc. 2015-10-20 13:44:39 +02:00
Rodolphe Breard
7334726311 Removing unused protestation function. 2015-10-20 13:39:06 +02:00
Rodolphe Breard
1653cd78b7 Adding the top/htop alias back. 2015-10-20 13:37:25 +02:00
Rodolphe Breard
7bb8787b71 Checking if xscreensaver is installed before creating the lock alias. 2015-10-20 13:35:06 +02:00
Rodolphe Breard
64d2c15a46 Fixing tmux default-terminal 2015-10-15 12:00:29 +02:00
Rodolphe Breard
d077bcb924 Starting to move away from emacs in favor of vim. 2015-10-02 21:03:55 +02:00
Rodolphe Breard
3a030059ca Updating GPG agent's auto-start.
From GPG 2.1, the auto-start mechanism has changed.
https://www.gnupg.org/faq/whats-new-in-2.1.html
2015-10-02 20:59:51 +02:00
Rodolphe Breard
c924913c11 Setting the custom bin directory first in the PATH. 2015-09-13 17:43:29 +02:00
Rodolphe Breard
dbd988064e Removing the useless rbenv support. 2015-09-13 14:48:16 +02:00
Rodolphe Breard
781fd45d4c Adding "du" alias. 2015-08-06 20:12:10 +02:00
Rodolphe Breard
c726a1f4c9 Removing autocd: it do more harm than good 2015-07-04 21:57:12 +02:00
Rodolphe Breard
ebb9d2a1d3 Creating an alias for steam because of the "steam runtime".
https://github.com/ValveSoftware/steam-runtime/issues/13
2015-05-25 02:49:41 +02:00
Rodolphe Breard
ef3f487f9f adding tree alias 2015-05-16 17:33:39 +02:00
Rodolphe Breard
91fb3d7695 Adding a random string to the "stop censorship" message.
This is intended to bypass log grouping by creating (almost) unique messages, thus maximizing the visibility.
2015-04-29 14:48:40 +02:00
Rodolphe Breard
8ea82120c6 everything's better with a cowsay 2015-03-18 00:46:14 +01:00
Rodolphe Breard
3b71b785a4 istheinternetonfire 2015-03-18 00:34:15 +01:00
Rodolphe Breard
c9b71b4276 Stop internet censorship 2015-03-16 11:40:03 +01:00
Rodolphe Breard
f0b241366a adding sqlmap helpers 2015-02-21 16:23:04 +01:00
Rodolphe Breard
60b413bf83 adding a chromium helper for tor 2015-02-21 16:14:22 +01:00
Rodolphe Breard
2dc3dcdc5a cleanup 2015-02-13 18:31:43 +01:00
Rodolphe Breard
2e686faca1 inlining the rbenv part 2015-02-13 17:43:13 +01:00
Rodolphe Breard
ad78c2a78f Checking whether or not the path has already been exported 2015-02-13 13:07:26 +01:00
Rodolphe Breard
0f50be3a6d exporting some gpg agent variables and initializing rbenv if found 2015-02-09 22:28:28 +01:00
Rodolphe Breard
62890e057d checking the existence of some commands 2015-02-09 21:47:17 +01:00
Rodolphe Breard
2a7f2ae70b fixing the alternative zsh prompt 2015-02-09 20:24:37 +01:00
Rodolphe Breard
89ece070d5 cleaning stuff 2015-02-09 20:07:40 +01:00
Rodolphe Breard
be8dadac9d moving the $PATH extention to .zprofile 2015-01-16 11:37:57 +01:00
Rodolphe Breard
11a416d7e8 adding ~/bin in the PATH 2015-01-16 02:18:41 +01:00
Rodolphe Breard
b87072b008 removing useless venv function (use pew instead) 2014-12-20 11:15:21 +01:00
Rodolphe Breard
c20c1ea7c6 adding syntax-highlighting support 2014-11-06 13:44:55 +01:00
Rodolphe Breard
38773106ea exporting pager and editor 2014-10-23 16:32:32 +02:00
Rodolphe Breard
441dd1ae64 adding USER_NICKNAME to .zshrc 2014-10-18 21:59:14 +02:00
Rodolphe Breard
b9afbac011 simpler if 2014-10-01 11:37:09 +02:00
Rodolphe Breard
059d9786bd zsh options 2014-10-01 11:27:35 +02:00
Rodolphe Breard
270c6eb52d adding zsh config 2014-09-29 10:52:58 +02:00