Commit graph

16 commits

Author SHA1 Message Date
Bruno BELANYI e060a9ef6d [ADD][SHELL] Display the weather with 'meteo' 2019-10-18 22:17:20 +02:00
Bruno BELANYI 7b249daed4 [UPDATE][SHELL] Use colors in lsl alias
The '--color=auto' is deactivated when piped into another program, but I
explicitly want to have colors for this command.
2019-10-18 22:17:20 +02:00
Bruno BELANYI 5723876694 [UPDATE][SHELL] Add quote to variable expansions
Everyone assumes that spaces do not exist on a Linux system... This is
unfortunately not the case (although I hate having spaces in my own
files). Quoting the variables avoids running into those kind of issues.
2019-10-18 22:17:20 +02:00
Bruno BELANYI 6d17f7ac54 [UPDATE][SHELL] Fix extract function
I did not want the extract function to change my working directory when
I added it. However I should have fixed the command calls that assumed I
was in a newly created directory at the same time.
2019-10-18 22:17:20 +02:00
Bruno BELANYI c23a84a4a0 [FIX][SHELL] Remove i3exit path in lock alias
Because i3exit is part of my path, I do not need to use the full path
from home. This is more robust when changing the path of my scripts
directory, as I did earlier.
2019-10-18 22:17:20 +02:00
Bruno BELANYI 7f6bba0e5d [UPDATE][SCRIPT] Use hidden script folder in home
I'd rather not see my script folder most of the time, so let's make it a
hidden folder instead.

I also link it each time with stow instead of using a conditional on the
folder's existence, which is more robust when adding scripts after I
already finished an install and only want to update the symlinks.
2019-10-18 22:17:20 +02:00
Bruno BELANYI 5dfbb3fb90 [UPDATE][SHELL] BAT_PAGER variable in profile
I don't want my pager to clobber my terminal once I'm done looking at
whatever I was looking at.

This also means that I can remove its definition from the `batman`
script.
2019-10-18 22:17:20 +02:00
Bruno BELANYI 0f4d67278c [UPDATE][SHELL] Export default pager
I also added the '-+X' flag to `less` default options to make it clear the
screen on exit.
2019-10-18 22:17:20 +02:00
Bruno BELANYI da6be50060 [ADD][SHELL] Alias for cppreference offline docs
Using the `cppreference` package from the AUR, I can simply view them on
the go.

Installing `stdman` is pretty great too, replacing the awful Doxygen
auto-generated files for the standard library.
2019-10-18 22:17:20 +02:00
Bruno BELANYI 3f7f725e61 [FIX][SHELL] Launch keychain with password prompt 2019-10-18 22:17:20 +02:00
Bruno BELANYI 65a8a2f4a3 [ADD][SHELL] Use keychain as ssh-agent daemon
This program only launches one ssh-agent daemon for each session, which
is easier than handling ssh-agent by hand.
2019-10-18 22:17:20 +02:00
Bruno BELANYI b158a8a06e [ADD][SHELL] Add rust environment to PATH
I share the `.share` file between Zsh and Bash so no need to add the
export to all files, only one will do.
2019-10-18 22:17:20 +02:00
Bruno BELANYI 85319475ab [UPDATE][SHELL] Compiler aliases with flags 2019-10-18 22:17:20 +02:00
Bruno BELANYI d60e05b2af [FIX][RANGER] Export RANGER_LOAD_DEFAULT_RC=FALSE
The configuration file in my home directory contains all the mappings
used in ranger.
2019-10-18 22:17:20 +02:00
Bruno BELANYI 8d2f357c8c [ADD] Termite configuration and TERMINAL variable
Switching to Termite because URxvt has weird rendering issues when
resizing the font.

i3-sensible-terminal needs the TERMINAL environment variable to launch
our prefered terminal emulator with the Ctrl+d binding.

Bash and Zsh both need a hook to enable Termite to open another terminal
in the same directory with the Ctrl+Maj+t binding.
2019-07-13 03:35:43 +02:00
Bruno BELANYI 795042b616 [ADD] Common shell files 2019-07-11 21:53:49 +02:00