Commit graph

11 commits

Author SHA1 Message Date
Bruno BELANYI 173a0b093c [ADD] Use my own script to display terminal title
The provided 'vte.sh' script  doesn't quite work on Bash because
$HOSTNAME is empty for some reason.
2020-12-12 14:12:41 +01:00
Bruno BELANYI da66b21004 [FIX] Make window title script work with Xterm
This is quite an awful hack, but I don't want to copy paste the script
to my dot-files instead, so this will do.
2019-11-05 16:00:42 +01:00
Bruno BELANYI cbcddccb50 [FIX] Only source terminal prompt file if there
I don't want to see an error message when ssh-ing to a computer which
doesn't have this file because `termite` isn't installed.
2019-11-05 16:00:42 +01:00
Bruno BELANYI c56455f851 [FIX] Xterm window title for Zsh and Bash
The escape sequence to display a title for Xterm and Termite is the
same, and the export for the current directory does not seem to have any
negative impact on Xterm.

The VTE script uses `$HOSTNAME` which is a bashism for `$HOST`, so this
needs a correction in my shell profile.
2019-10-25 17:22:54 +02:00
Bruno BELANYI a9bddde57a [FIX] Fuzzy finder for shell history
For some reason the fuzzy finder script for Bash and Zsh history using
fzf needs to be sourced later than it was in order to work correctly.
2019-10-23 13:53:09 +02:00
Bruno BELANYI 67da1d9f6e [ADD][SHELL] Project-local environment w/ localrc
This little script will look at your current working directory and its
parent directories to source local configuration files (very useful for
Python  projects, or the way I build TC with a local PATH pre-pended).

It works relatively well but still is a very fragile solution that
depends on the order in which the shell has sourced its files. Because
the Termite script kept erasing the previous PROMPT_COMMAND value for
Bash I had to change to source it at the beginning of my configuration
file.
2019-10-19 17:06:00 +02:00
Bruno BELANYI fde97e5b66 [FIX][SHELL] Modify PATH at login only
It's cleaner to only export my modified PATH when I'm logging in,
instead of doing it at each shell launch.

Because Zsh and Bash don't use the same mechanism to let you know you
are in a login session, you gotta check both separately. But that
doesn't matter because lightdm doesn't launch `sh` as a login shell
anyway... So the condition is super messy.
2019-10-19 05:46:29 +02:00
Bruno BELANYI 00109974f0 [UPDATE] Remove display of /etc/issue in shell
I don't want to make a custom `/etc/issue` file for every computer that
I use. Plus I didn't really like that behaviour anyway.
2019-10-18 22:17:20 +02:00
Bruno BELANYI 36b3757e67 [ADD] Fuzzy file finder for Vim, Bash, Zsh
Mappings for vcs files, all files, buffers, buffer history, and tags
have been added to the Vim configuration.

The installation process automatically adds the fzf sourcing commands to
both Bash and Zsh configuration files.
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 942b21b71d [ADD] Bash configuration files 2019-07-11 21:53:49 +02:00