mirror of
https://github.com/dnlbauer/dotfiles.git
synced 2026-09-10 13:35:30 +00:00
Merge branch 'master' of github.com:danijoo/dotfiles
This commit is contained in:
13
install.sh
13
install.sh
@@ -1,18 +1,17 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# Make ZSH the default shell environment
|
# Make ZSH the default shell environment
|
||||||
if [ `cat /etc/passwd | grep $USER | awk -F ':' '{print $7}'` != "/bin/zsh" ]; then
|
if [ `cat /etc/passwd | grep $USER | awk -F ':' '{print $7}'` != "/usr/bin/zsh" ]; then
|
||||||
echo "Changing shell to zsh"
|
echo "Changing shell to zsh"
|
||||||
chsh -s $(which zsh)
|
chsh -s $(which zsh)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# ZIM Installation
|
# zgen Installation
|
||||||
if [ ! -d "$HOME/.zim" ]; then
|
if [ ! -d "$HOME/.zgen" ]; then
|
||||||
echo "Installing ZIM"
|
echo "Installing zgen"
|
||||||
git clone --recursive --depth=1 https://github.com/zimfw/zimfw.git \
|
git clone --depth=1 https://github.com/tarjoilija/zgen.git "${HOME}/.zgen"
|
||||||
${ZDOTDIR:-${HOME}}/.zim
|
|
||||||
else
|
else
|
||||||
echo "ZIM already exists."
|
echo "zgen already exists."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Powerlevel9k Theme
|
# Powerlevel9k Theme
|
||||||
|
|||||||
@@ -9,6 +9,12 @@ alias ls='ls --color=auto -lh'
|
|||||||
alias workon='source activate' # enable anaconda environ
|
alias workon='source activate' # enable anaconda environ
|
||||||
alias cwl="cwl-runner"
|
alias cwl="cwl-runner"
|
||||||
|
|
||||||
|
function gitignore() {
|
||||||
|
for i in "$@"; do
|
||||||
|
echo $i >> .gitignore
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
# lhr
|
# lhr
|
||||||
alias squeue="ssh lcluster11 squeue"
|
alias squeue="ssh lcluster11 squeue"
|
||||||
alias csum="ssh lcluster11 csum"
|
alias csum="ssh lcluster11 csum"
|
||||||
|
|||||||
@@ -14,7 +14,8 @@ set -g @plugin 'tmux-plugins/tpm'
|
|||||||
set -g @plugin 'tmux-plugins/tmux-sensible'
|
set -g @plugin 'tmux-plugins/tmux-sensible'
|
||||||
set -g @plugin 'tmux-plugins/tmux-cpu'
|
set -g @plugin 'tmux-plugins/tmux-cpu'
|
||||||
set -g @plugin 'pwittchen/tmux-plugin-ram'
|
set -g @plugin 'pwittchen/tmux-plugin-ram'
|
||||||
|
set -g @plugin 'danijoo/tmux-plugin-simple-gpu'
|
||||||
|
|
||||||
run -b '~/.tmux/plugins/tpm/tpm'
|
run -b '~/.tmux/plugins/tpm/tpm'
|
||||||
|
|
||||||
set -g status-right '#{cpu_bg_color} CPU: #{cpu_percentage} RAM: #{ram}| %a %h-%d %H:%M '
|
set -g status-right '#{cpu_bg_color} CPU: #{cpu_percentage} GPU: #{gpu} RAM: #{ram}| %a %h-%d %H:%M '
|
||||||
|
|||||||
@@ -29,6 +29,7 @@ Plugin 'Yggdroot/indentLine'
|
|||||||
Plugin 'godlygeek/tabular'
|
Plugin 'godlygeek/tabular'
|
||||||
Plugin 'plasticboy/vim-markdown'
|
Plugin 'plasticboy/vim-markdown'
|
||||||
Plugin 'morhetz/gruvbox'
|
Plugin 'morhetz/gruvbox'
|
||||||
|
Plugin 'preservim/nerdcommenter'
|
||||||
Plugin 'jpalardy/vim-slime'
|
Plugin 'jpalardy/vim-slime'
|
||||||
let g:slime_target = "x11"
|
let g:slime_target = "x11"
|
||||||
|
|
||||||
@@ -64,3 +65,6 @@ set colorcolumn=80,100,120
|
|||||||
colorscheme gruvbox
|
colorscheme gruvbox
|
||||||
let g:gruvbox_contrast_dark = 'hard'
|
let g:gruvbox_contrast_dark = 'hard'
|
||||||
set background=dark
|
set background=dark
|
||||||
|
|
||||||
|
" nerdcommenter
|
||||||
|
filetype plugin on
|
||||||
|
|||||||
Reference in New Issue
Block a user