Skip to content

Instantly share code, notes, and snippets.

@audacioustux
Last active December 6, 2019 14:50
Show Gist options
  • Select an option

  • Save audacioustux/638ba9aa9c8484541e72926059ffc2f9 to your computer and use it in GitHub Desktop.

Select an option

Save audacioustux/638ba9aa9c8484541e72926059ffc2f9 to your computer and use it in GitHub Desktop.
# ohmyzsh
ZSH_THEME="agnoster"
# zsh-autosuggestions
plugins=(git zsh-autosuggestions)
export DRI_PRIME=1
export EDITOR=/usr/bin/nano
# export NVM_DIR="$HOME/.nvm"
# [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
# [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
# place this after nvm initialization!
# autoload -U add-zsh-hook
# load-nvmrc() {
# local node_version="$(nvm version)"
# local nvmrc_path="$(nvm_find_nvmrc)"
# if [ -n "$nvmrc_path" ]; then
# local nvmrc_node_version=$(nvm version "$(cat "${nvmrc_path}")")
# if [ "$nvmrc_node_version" = "N/A" ]; then
# nvm install
# elif [ "$nvmrc_node_version" != "$node_version" ]; then
# nvm use
# fi
# elif [ "$node_version" != "$(nvm version default)" ]; then
# echo "Reverting to nvm default version"
# nvm use default
# fi
# }
# add-zsh-hook chpwd load-nvmrc
# load-nvmrc
# flutter
# export PATH="$PATH:/home/tux/sdk/flutter/flutter/bin/"
# export PATH="$PATH:/home/tux/.local/bin"
# cargo
# export PATH="$PATH:/home/tux/.cargo/bin"
# go
# export PATH=$PATH:/usr/local/go/bin
# export PATH=$PATH:/home/tux/go/bin/
# autostart
# fortune -o | cowthink -f tux
# kitty
# alias icat="kitty +kitten icat"
# alias kd="kitty +kitten diff"
git clone --depth 1 https://github.com/dexpota/kitty-themes.git ~/.config/kitty/kitty-themes
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
# ~/.config/kitty/kitty.conf
font_size 10.0
font_family Fira Code Medium
bold_font Fire Code Bold
enabled_layouts tall
map ctrl+shift+p new_window
active_border_color none
inactive_border_color #032535
background_opacity .97
include ./kitty-themes/themes/gruvbox_dark.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment