mirror of
https://github.com/MillironX/dotfiles.git
synced 2024-11-22 05:29:54 +00:00
Compare commits
11 commits
48197dcaf7
...
455d5636a7
Author | SHA1 | Date | |
---|---|---|---|
455d5636a7 | |||
8369610a0e | |||
58d8801d7d | |||
5601bd7546 | |||
66d3a5c390 | |||
01e5ae652b | |||
826b6a5fe8 | |||
8052c8f83b | |||
446e991859 | |||
9df027d4a6 | |||
c072544efb |
8 changed files with 53 additions and 21 deletions
|
@ -4,12 +4,14 @@ if [ $(command -v pipx) ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Preferred editor for local and remote sessions
|
# Preferred editor for local and remote sessions
|
||||||
if [ $(command -v nano) ]; then
|
if [ $(command -v nvim) ]; then
|
||||||
|
export EDITOR=nvim
|
||||||
|
elif [ $(command -v nano) ]; then
|
||||||
export EDITOR=nano
|
export EDITOR=nano
|
||||||
elif [ $(command -v emacs) ]; then
|
|
||||||
export EDITOR='emacs -nw'
|
|
||||||
elif [ $(command -v vim) ]; then
|
elif [ $(command -v vim) ]; then
|
||||||
export EDITOR=vim
|
export EDITOR=vim
|
||||||
|
elif [ $(command -v emacs) ]; then
|
||||||
|
export EDITOR='emacs -nw'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ $(command -v kate) ]; then
|
if [ $(command -v kate) ]; then
|
||||||
|
|
10
dot_hooks
10
dot_hooks
|
@ -1,10 +0,0 @@
|
||||||
if [ -f $HOME/.rbenv/bin/rbenv ]; then
|
|
||||||
export PATH="$HOME/.rbenv/bin:$PATH"
|
|
||||||
eval "$(rbenv init -)"
|
|
||||||
export PATH="$HOME/.rbenv/plugins/ruby-build/bin:$PATH"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ $(command -v n) ]; then
|
|
||||||
export N_PREFIX=$HOME/.n
|
|
||||||
export PATH="$HOME/.n/bin:$PATH"
|
|
||||||
fi
|
|
21
dot_hooks.tmpl
Normal file
21
dot_hooks.tmpl
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
if [ -f $HOME/.rbenv/bin/rbenv ]; then
|
||||||
|
export PATH="$HOME/.rbenv/bin:$PATH"
|
||||||
|
eval "$(rbenv init -)"
|
||||||
|
export PATH="$HOME/.rbenv/plugins/ruby-build/bin:$PATH"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ $(command -v n) ]; then
|
||||||
|
export N_PREFIX=$HOME/.n
|
||||||
|
export PATH="$HOME/.n/bin:$PATH"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -f $HOME/.ion/bin/ion ]; then
|
||||||
|
export PATH="$HOME/.ion/bin/ion:$PATH"
|
||||||
|
export FPATH="$HOME/.ion/completions:$FPATH"
|
||||||
|
fi
|
||||||
|
|
||||||
|
{{- if eq .machinetype "workstation" }}
|
||||||
|
export GPG_TTY="$(tty)"
|
||||||
|
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
|
||||||
|
gpgconf --launch gpg-agent
|
||||||
|
{{- end }}
|
13
dot_profile
13
dot_profile
|
@ -7,6 +7,19 @@ if [ -d $HOME/.julia/juliaup/bin ]; then
|
||||||
export PATH="$HOME/.julia/juliaup/bin:$PATH"
|
export PATH="$HOME/.julia/juliaup/bin:$PATH"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# >>> juliaup initialize >>>
|
||||||
|
|
||||||
|
# !! Contents within this block are managed by juliaup !!
|
||||||
|
|
||||||
|
case ":$PATH:" in
|
||||||
|
*:/home/millironx/.juliaup/bin:*)
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
export PATH=/home/millironx/.juliaup/bin${PATH:+:${PATH}}
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
# <<< juliaup initialize <<<
|
||||||
|
|
||||||
# Linuxbrew setup
|
# Linuxbrew setup
|
||||||
if [ -d $HOME/../linuxbrew/.linuxbrew ]; then
|
if [ -d $HOME/../linuxbrew/.linuxbrew ]; then
|
||||||
BREWPATH=$HOME/../linuxbrew/.linuxbrew
|
BREWPATH=$HOME/../linuxbrew/.linuxbrew
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
set -g default-terminal "tmux-256color"
|
|
||||||
source "/usr/share/tmux/powerline.conf"
|
|
6
dot_tmux.conf.tmpl
Normal file
6
dot_tmux.conf.tmpl
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
set -g default-terminal "tmux-256color"
|
||||||
|
{{- if (eq .chezmoi.osRelease.id "debian") }}
|
||||||
|
source "/usr/share/powerline/bindings/tmux/powerline.conf"
|
||||||
|
{{- else -}}
|
||||||
|
source "/usr/share/tmux/powerline.conf"
|
||||||
|
{{- end }}
|
|
@ -1,9 +1,9 @@
|
||||||
[user]
|
[user]
|
||||||
name = {{ .name }}
|
name = "Thomas A. Christensen II"
|
||||||
email = {{ .email }}
|
email = "25492070+MillironX@users.noreply.github.com"
|
||||||
signingkey = {{ .pubkey }}
|
signingkey = 0xD5F50D10552A4BEC
|
||||||
[core]
|
[core]
|
||||||
editor = nano
|
editor = nvim
|
||||||
[credential]
|
[credential]
|
||||||
helper = store
|
helper = store
|
||||||
[color]
|
[color]
|
||||||
|
@ -14,9 +14,11 @@
|
||||||
user = MillironX
|
user = MillironX
|
||||||
[pull]
|
[pull]
|
||||||
rebase = false
|
rebase = false
|
||||||
|
[safe]
|
||||||
|
directory = /var/docker
|
||||||
|
{{- if eq .machinetype "workstation" }}
|
||||||
[commit]
|
[commit]
|
||||||
gpgsign = true
|
gpgsign = true
|
||||||
{{- if eq .chezmoi.osRelease.id "fedora" }}
|
|
||||||
[diff]
|
[diff]
|
||||||
tool = kdiff3
|
tool = kdiff3
|
||||||
[merge]
|
[merge]
|
||||||
|
|
|
@ -21,7 +21,7 @@ fi
|
||||||
if [[ ! -f "$HOME/antigen.zsh" ]]; then
|
if [[ ! -f "$HOME/antigen.zsh" ]]; then
|
||||||
curl -L git.io/antigen > $HOME/antigen.zsh
|
curl -L git.io/antigen > $HOME/antigen.zsh
|
||||||
fi
|
fi
|
||||||
source "$HOME/.antigen.zsh"
|
source "$HOME/antigen.zsh"
|
||||||
|
|
||||||
# Load the oh-my-zsh library
|
# Load the oh-my-zsh library
|
||||||
antigen use oh-my-zsh
|
antigen use oh-my-zsh
|
||||||
|
|
Loading…
Reference in a new issue