all repos — dotfiles @ d55c5f6f5c96fb57f45bdf1712feb30cb94d0795

my *nix dotfiles

base16 256 colors <3
icyphox icyph0x@protonmail.com
Sun, 28 Jan 2018 14:03:40 +0530
commit

d55c5f6f5c96fb57f45bdf1712feb30cb94d0795

parent

4e914ab57f2ef3dc1fbb42ac64e40b15999199d6

3 files changed, 18 insertions(+), 7 deletions(-)

jump to
M .vimrc.vimrc

@@ -6,8 +6,7 @@ "(_)___/_/_/ /_/ /_/_/ \___/

" " -autocmd FileType html setlocal ts=2 sts=2 sw=2 expandtab -autocmd FileType css setlocal ts=2 sts=2 sw=2 expandtab +autocmd FileType html setlocal ts=2 sts=2 sw=2 expandtab autocmd FileType css setlocal ts=2 sts=2 sw=2 expandtab set shiftwidth=4 " indent = 4 spaces set noexpandtab " tabs are tabs

@@ -32,7 +31,7 @@ set rtp+=~/.fzf

set timeout timeoutlen=3000 ttimeoutlen=100 set undodir=~/.vim/undodir -colorscheme agila +"colorscheme agila let mapleader=' ' nnoremap <leader>n : nohlsearch<cr>

@@ -130,3 +129,11 @@ "Convert the help window to a tab...

execute "normal \<C-W>T" endif endfunction + +" base16 stuff +if filereadable(expand("~/.vimrc_background")) + let base16colorspace=256 + source ~/.vimrc_background +endif + +highlight LineNr ctermbg=none
M scripts/icyup.pyscripts/icyup.py

@@ -4,7 +4,7 @@ import string

import sys import os from random import * -from subprocess import call +import subprocess # generate random string st = string.ascii_letters + string.digits

@@ -12,9 +12,10 @@ rand_st = ''.join(choice(st) for x in range(6))

local_file = sys.argv[1] ext = os.path.splitext(local_file)[1] -remote_file = 'upload/' + rand_st + ext +remote_file = '/home/icy/upload/' + rand_st + ext -scp_cmd = 'scp ' + local_file + ' boop:' + remote_file -os.popen(scp_cmd) +#scp_cmd = 'scp ' + local_file + ' boop:' + remote_file +p = subprocess.Popen(['scp', '-r', local_file, '%s' % ('boop: ') , remote_file], bufsize=2048) +p.wait() print('https://xix.ph0x.me/' + rand_st + ext)
M zsh/.zshrczsh/.zshrc

@@ -43,3 +43,6 @@ if [ -n "$DESKTOP_SESSION" ];then

eval $(gnome-keyring-daemon --start) export SSH_AUTH_SOCK fi + +BASE16_SHELL=$HOME/.config/base16-shell/ +[ -n "$PS1" ] && [ -s $BASE16_SHELL/profile_helper.sh ] && eval "$($BASE16_SHELL/profile_helper.sh)"