Commit graph

16 commits

Author SHA1 Message Date
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 ffe4513deb [FIX][ZSH] Have C-u delete from the cursor
By default, Zsh deletes the whole line when doing Ctrl+u unlike Bash
which keeps what's after the cursor.
2019-10-28 21:27:39 +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 e4f096ae91 [FIX][ZSH] Display title in Termite
For some reason the script to set-up VTE terminals does not set-up the
precmd which is supposed to display the username, host, and working
directory in Termite's title.
2019-10-23 13:54:57 +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 2f9a1f2d33 [FIX][ZSH] Display return value in prompt on error
I had forgotten to add it to my prompt...
2019-10-21 14:14:18 +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 d4413112e9 [ADD][ZSH] Bind delete key 2019-10-19 05:46:29 +02:00
Bruno BELANYI da439cd674 [UPDATE][ZSH] Use fast-syntax-highlighting script
The `zsh-fast-syntax-highlighting-git` AUR package is a better
highlighting script than the previous one I was using.
2019-10-18 22:17:20 +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 75c92c2a38 [UPDATE][ZSH] Group directories in completion 2019-07-13 05:00:46 +02:00
Bruno BELANYI 79873aebaf [UPDATE][ZSH] Use arrow keys in completion menu 2019-07-13 04:59:53 +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 23f6ab4c12 [ADD] Zsh configuration files 2019-07-11 21:53:49 +02:00