Commit graph

361 commits

Author SHA1 Message Date
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
c4671585e3 Adding the vim-troll-stopper plugin. 2015-10-28 10:03:40 +01:00
Rodolphe Breard
ba23c54b9f Add the Xdg user directories configuration.
The default folders for pictures, music, etc starts with a capital
letter. Such folders are automatically created and used by some
programs, for example web navigators uses the download folder.
https://wiki.archlinux.org/index.php/Xdg_user_directories
2015-10-27 10:14:28 +01:00
Rodolphe Breard
0b5ef41997 Using only useful licenses. 2015-10-20 18:05:42 +02:00
Rodolphe Breard
6d66838424 Adding common aliases to bash. 2015-10-20 13:56:56 +02: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
344b86834d Removing the NERD Commenter plugin.
I never really used this module and the only times I did I was
disappointed by the quality. Too much similar commands, no support for
block comments (each line of a block is commented individually) and so
on. Furthermore, I dislike the WTFPL license. Even the FSF do not
recommend this license.
https://www.gnu.org/licenses/license-list.html#WTFPL
2015-10-19 15:53:00 +02:00
Rodolphe Breard
f4fcf745f8 Switching from the molokai color scheme to badwolf.
I just realized molokai does not have any license and therefore is
non-free.
2015-10-19 15:39:38 +02:00
Rodolphe Breard
a2568f01ba Adding the vim-dnsserial plugin. 2015-10-18 01:23:20 +02:00
Rodolphe Breard
2a7d607dc6 Adding the missing session signs. 2015-10-17 12:26:08 +02:00
Rodolphe Breard
e3c972b06b Adding documentation for vim plugins. 2015-10-17 12:11:10 +02:00
Rodolphe Breard
b34b959d20 Adding Vundle as a git submodule. 2015-10-17 12:03:42 +02:00
Rodolphe Breard
69b00cc08f Documenting the Vundle plugins. 2015-10-17 10:59:32 +02:00
Rodolphe Breard
c28b15494b Using Vundle to manage the color theme. 2015-10-17 10:54:51 +02:00
Rodolphe Breard
50332d9f32 Removing emacs configuration. 2015-10-17 10:43:06 +02:00
Rodolphe Breard
64d2c15a46 Fixing tmux default-terminal 2015-10-15 12:00:29 +02:00
Rodolphe Breard
837f1681c3 Adding the vim-licenses plugin. 2015-10-11 21:48:23 +02:00
Rodolphe Breard
9ebd5ca30a Ignoring vim temp files. 2015-10-11 17:32:52 +02:00
Rodolphe Breard
c3a6e55f9c Adding the nerdcommenter plugin. 2015-10-11 17:31:50 +02:00
Rodolphe Breard
b1d33a22c8 Improving the vimrc file. 2015-10-11 17:02:15 +02:00
Rodolphe Breard
7351144c63 Fix indent. 2015-10-05 11:46:57 +02:00
Rodolphe Breard
b1058efd69 Add a template for git commit.
Such a template will help to write better commit messages.
http://codeinthehole.com/writing/a-useful-template-for-commit-messages/
2015-10-05 11:04:27 +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
6501871262 Logging qtile's errors. 2015-10-02 19:53:20 +02:00
Rodolphe Breard
638a91c01b Making qtile the default session. 2015-10-02 19:38:03 +02:00
Rodolphe Breard
b81f9fdb92 Replacing "awesome" by "qtile" in the readme. 2015-10-02 15:39:40 +02:00
Rodolphe Breard
161b548111 Adding the apache license. 2015-10-02 14:21:54 +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
c302b90e7e removing awesome wm 2015-08-26 17:36:30 +02:00
Rodolphe Breard
f51563c065 Adding a battery widget. 2015-08-16 17:50:44 +02:00
Rodolphe Breard
798acc059a Adding CPU and RAM widgets. 2015-08-16 17:41:15 +02:00
Rodolphe Breard
f917f2bfd3 Using inconsolata as the default font for urxvt. 2015-08-12 12:07:00 +02:00
Rodolphe Breard
d973bf1ad2 Moving setxkbmap from .xinitrc to .xprofile 2015-08-11 20:58:06 +02:00
Rodolphe Breard
301eea05b4 Setting the keymap from .xinitrc 2015-08-06 20:12:36 +02:00
Rodolphe Breard
781fd45d4c Adding "du" alias. 2015-08-06 20:12:10 +02:00
Rodolphe Breard
c64cc7b5fa Adding ReST comments. 2015-07-23 11:13:11 +02:00
Rodolphe Breard
9fbb1bbcc1 Adding default layouts to groups. 2015-07-18 14:52:27 +02:00
Rodolphe Breard
8085aea394 Adding screenshot shortcut. 2015-07-13 14:04:40 +02:00
Rodolphe Breard
5f8555e62f Adding a screen lock shortcut. 2015-07-08 17:07:38 +02:00
Rodolphe Breard
16da32d9d9 Improving the gitignore file. 2015-07-08 16:30:23 +02:00
Rodolphe Breard
53f9a13c44 Moving the background definition to the startup hook. 2015-07-08 16:28:44 +02:00