-
Notifications
You must be signed in to change notification settings - Fork 0
/
groovy_variables.sh
68 lines (50 loc) · 1.34 KB
/
groovy_variables.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
#!/bin/bash
# Text editor
export VISUAL=vim
export EDITOR="$VISUAL"
# tmux
export TMUX_POWERLINE_SYMBOLS="powerline"
# Composer
export PATH="$PATH:$HOME/.config/composer/vendor/bin"
# Vagrant
# export VAGRANT_DEFAULT_PROVIDER=libvirt
# Android
if [[ $(uname) == 'Darwin' ]]; then
export ANDROID_HOME=${HOME}/Library/Android/sdk
else
export ANDROID_HOME=${HOME}/Android/Sdk
fi
export PATH=${PATH}:${ANDROID_HOME}/tools
export PATH=${PATH}:${ANDROID_HOME}/platform-tools
export ANDROID_SDK_ROOT=${ANDROID_HOME}
# Ansible
export ANSIBLE_NOCOWS=1
# Zathura
alias zathura='zathura --fork'
# Glow
alias glow='glow --pager'
# Go
export GOPATH=$HOME/go
export PATH=${PATH}:${GOPATH}/bin
# Rust
export PATH=${PATH}:${HOME}/.cargo/bin
# FZF
# Search hidden files (https://www.reddit.com/r/neovim/comments/48ymsn/fzf_how_to_show_hidden_files/d0oji2s)
export FZF_DEFAULT_COMMAND='ag --hidden --ignore .git -f -g ""'
# Ruby
# export PATH=$HOME/.gem/ruby/2.6.0/bin:$HOME/bin:/usr/local/bin:$PATH
# Tmuxinator
alias mux="tmuxinator"
#.NET Core
export DOTNET_CLI_TELEMETRY_OPTOUT=1
# Bat
export BAT_STYLE='plain'
# Docker
alias docker_nuke='docker system prune -a --volumes'
export DOCKER_BUILDKIT=1
# User Neovim instead of Vim if Neovim is installed
if type nvim > /dev/null 2>&1; then
alias vim='nvim'
fi
# Local CLIs
export PATH=${PATH}:${HOME}/.local/bin