Various personal configuration files (X, bash, tmux, vim etc.)
Everything below assumes Arch Linux, but application specific parts should work on other *nixes with minimal modifications.
I have a simple .bashrc with some useful features:
- Start X by logging into
tty1, no need for fancy display managers like GDM (see.xinitrcsection below). - Tab auto completion for
sudoandgo. vimas$EDITOR.- Some useful functions and aliases.
I have a very simple .xinitrc that sets the XDG session type to X11, tells Qt to use the GTK theme and starts the Gnome session. To use it, simply copy it to your $HOME and start X with startx.
Install powerline from the official repositories, and powerline-fonts-git from AUR.
$ pacman -S powerline powerline-vim
$ packer -S powerline-fonts-gitPrepend the following to your .bashrc:
# Powerline config
powerline-daemon -q
POWERLINE_BASH_CONTINUATION=1
POWERLINE_BASH_SELECT=1
. /usr/lib/python/3.7/site-packages/powerline/bindings/bash/powerline.shI use the basic version of amix's ultimate Vim configuration.
Sane keybindings, some basic plugins like yank (for copy/paste) and resurrect (to save/restore tmux state).
- First, install tpm, the tmux plugin manager:
$ git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm- Copy
.tmux.conffrom this repository to~/.tmux.conf - Run
tmuxand install all plugins withCtrl-A + I(that's capitali).
I use the "Chalk" theme from the excellent Gogh.
- Make sure you have at least 1 custom profile enabled in Gnome Terminal, otherwise this won't work! Create a dummy if you need to.
- Install Gogh. Arch Linux users can use the AUR package.
- Run
goghin a terminal. - Type
23and hit enter. - Right click anywhere in terminal and choose
Profiles -> Chalk.
- If you installed
powerline-fonts-git, I recommendDroid Sans Mono for Powerline Regularin terminal settings.
If you followed the steps for powerline, tmux and Gnome Terminal, it should look like this:
You can also run the colors function from .bashrc to see a nice grid of your current terminal color scheme:

