1
0
mirror of https://github.com/vbrandl/dotfiles synced 2024-11-26 17:35:12 +01:00

Add shell and terminal configs

This commit is contained in:
Valentin Brandl 2017-02-11 11:18:16 +01:00
parent 7acf8f3760
commit c188d25571
Signed by: vbrandl
GPG Key ID: CAD4DA1A789125F9
7 changed files with 1755 additions and 0 deletions

4
.gitmodules vendored
View File

@ -2,3 +2,7 @@
path = editors/vim/bundle/Vundle.vim
url = git@github.com:VundleVim/Vundle.vim.git
branch = master
[submodule "terminals/colors/base16-shell"]
path = terminals/colors/base16-shell
url = git@github.com:chriskempson/base16-shell.git
branch = master

8
shells/profile Normal file
View File

@ -0,0 +1,8 @@
# ~/.profile
# start window manager on login
if [ -z "$DISPLAY" ] && [ -n "$XDG_VTNR" ] && [ "$XDG_VTNR" -eq 1 ]; then
exec startx
export QT_QPA_PLATFORMTHEME='gtk2'
fi
# vim: set filetype=zsh ts=4 sw=4 tw=120 et :

5
shells/xinitrc Normal file
View File

@ -0,0 +1,5 @@
#!/bin/sh
# ~/.xinitrc
# exec startxfce4
exec i3

1505
shells/zsh/antigen.zsh Normal file

File diff suppressed because it is too large Load Diff

75
shells/zsh/zshrc Normal file
View File

@ -0,0 +1,75 @@
source ~/.zsh/antigen.zsh
antigen bundle robbyrussell/oh-my-zsh lib/
antigen use oh-my-zsh
antigen bundle jump
antigen bundle zsh-users/zsh-syntax-highlighting
# autosuggestions based on the history
antigen bundle zsh-users/zsh-autosuggestions
antigen bundle git
antigen bundle tmux
antigen bundle tmuxinator
# cargo autocomplete
antigen bundle cargo
# magnet link to torrent file with magnet_to_torrent
antigen bundle torrent
antigen bundle rupa/z
# maven
antigen bundle mvn
antigen bundle rand-quote
# ssh-agent
antigen bundle ssh-agent
antigen bundle https://github.com/bobthecow/git-flow-completion
antigen apply
export PATH=~/.rakudobrew/bin:~/.gem/ruby/2.3.0/bin:$PATH
eval "$(/home/me/.rakudobrew/bin/rakudobrew init -)"
# antigen theme https://github.com/halfo/lambda-mod-zsh-theme lambda-mod
antigen theme https://github.com/agnoster/agnoster-zsh-theme.git agnoster
source $HOME/.cargo/env
# fix font rendering in Java
export JAVA_OPTS="-Dawt.useSystemAAFontSettings=on -Dswing.aatext=true"
export EDITOR=/usr/bin/vim
# map vi to vim
alias vi=$EDITOR
# Add an "alert" alias for long running commands. Use like so:
# sleep 10; alert
alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"'
# print execution time if > 10 seconds
export REPORTTIME=10
# better shell colors
BASE16_SHELL="$HOME/.config/base16-shell/scripts/base16-default-dark.sh"
[[ -s $BASE16_SHELL ]] && source $BASE16_SHELL
# alias to upload a file to sprunge.us
alias sprunge="curl -F 'sprunge=<-' http://sprunge.us"
# sudo with aliases
# If the last character of the alias value is a space or tab character, then the next command word following the alias is also checked for alias expansion.
alias sudo='sudo '
# get tmux to work with true color
# alias tmux='TERM=xterm-256color tmux'
alias tmux='tmux -2'
alias mux='tmuxinator start'
alias prm=". $HOME/tools/prm/prm.sh"
# multiple tabs in termite
source /etc/profile.d/vte.sh
# vim: set filetype=zsh ts=4 sw=4 tw=0 et :

@ -0,0 +1 @@
Subproject commit 471707c20e48ea9554c06f1d910c91bd71693459

157
terminals/termite/config Normal file
View File

@ -0,0 +1,157 @@
[options]
scroll_on_output = false
scroll_on_keystroke = true
audible_bell = false
mouse_autohide = false
allow_bold = true
dynamic_title = true
urgent_on_bell = true
clickable_url = true
font = Monospace 10
scrollback_lines = 10000
search_wrap = true
#icon_name = terminal
#geometry = 640x480
# "system", "on" or "off"
cursor_blink = system
# "block", "underline" or "ibeam"
cursor_shape = block
# $BROWSER is used by default if set, with xdg-open as a fallback
#browser = xdg-open
# set size hints for the window
#size_hints = false
# Hide links that are no longer valid in url select overlay mode
filter_unmatched_urls = true
# emit escape sequences for extra modified keys
#modify_other_keys = false
[colors]
#cursor = #dcdccc
#foreground = #dcdccc
#foreground_bold = #ffffff
#background = #3f3f3f
# 20% background transparency (requires a compositor)
#background = rgba(23, 23, 23, 0.7)
# if unset, will reverse foreground and background
highlight = #2f2f2f
## colors from color0 to color254 can be set
#color0 = #3f3f3f
#color1 = #705050
#color2 = #60b48a
#color3 = #dfaf8f
#color4 = #506070
#color5 = #dc8cc3
#color6 = #8cd0d3
#color7 = #dcdccc
#color8 = #709080
#color9 = #dca3a3
#color10 = #c3bf9f
#color11 = #f0dfaf
#color12 = #94bff3
#color13 = #ec93d3
#color14 = #93e0e3
#color15 = #ffffff
##monokai
## special
#foreground = #f1ebeb
#foreground_bold = #f1ebeb
#cursor = #f1ebeb
#background = #272822
#
#background = rgba(23, 23, 23, 0.7)
#
## black
#color0 = #48483e
#color8 = #76715e
#
## red
#color1 = #dc2566
#color9 = #fa2772
#
## green
#color2 = #8fc029
#color10 = #a7e22e
#
## yellow
#color3 = #d4c96e
#color11 = #e7db75
#
## blue
#color4 = #55bcce
#color12 = #66d9ee
#
## magenta
#color5 = #9358fe
#color13 = #ae82ff
#
## cyan
#color6 = #56b7a5
#color14 = #66efd5
#
## white
#color7 = #acada1
#color15 = #cfd0c2
#gjm
# special
foreground = #c5c5c5
foreground_bold = #c5c5c5
cursor = #c5c5c5
background = #1c1c1c
background = rgba(0, 0, 0, 0.8)
# black
color0 = #1c1c1c
color8 = #666666
# red
color1 = #ff005b
color9 = #ff00a0
# green
color2 = #cee318
color10 = #ccff00
# yellow
color3 = #ffe755
color11 = #ff9f00
# blue
color4 = #048ac7
color12 = #48c6ff
# magenta
color5 = #833c9f
color13 = #be67e1
# cyan
color6 = #0ac1cd
color14 = #63e7f0
# white
color7 = #e5e5e5
color15 = #f3f3f3
[hints]
#font = Monospace 12
#foreground = #dcdccc
#background = #3f3f3f
#active_foreground = #e68080
#active_background = #3f3f3f
#padding = 2
#border = #3f3f3f
#border_width = 0.5
#roundness = 2.0
/* vim: set filetype=dosini ts=4 sw=4 tw=120 noet :*/