even more changes
This commit is contained in:
parent
7935ec2ef6
commit
cb62f96109
10 changed files with 29 additions and 21 deletions
|
@ -5,7 +5,3 @@ Host web
|
||||||
Host git
|
Host git
|
||||||
HostName git.eeleater.org
|
HostName git.eeleater.org
|
||||||
User eeleater
|
User eeleater
|
||||||
|
|
||||||
Host test
|
|
||||||
HostName test.eeleater.org
|
|
||||||
User eeleater
|
|
||||||
|
|
|
@ -1,13 +1,16 @@
|
||||||
# Export with respect to dotfiles folder
|
export DOTFILES="${HOME}/dotfiles" # Main Dotfile Folder
|
||||||
export DOTFILES="${HOME}/dotfiles"
|
export DOTF_LIB="${DOTFILES}/lib" # Libraries Folder
|
||||||
export LIB="${DOTFILES}/lib"
|
export DOTF_BIN="${DOTFILES}/bin" # Binaries Folder
|
||||||
export CONFIG="${DOTFILES}/config"
|
export DOTF_CONF="${DOTFILES}/config" # Config Folder
|
||||||
export ZSHRCD="${CONFIG}/zsh/zshrc.d"
|
export ZSHRCD="${DOTF_CONF}/zsh/zshrc.d" # ZSHRC.D Folder
|
||||||
export SEPARATE="${ZSHRCD}/separate"
|
|
||||||
export PATH="${HOME}/dotfiles/bin:/opt/android-sdk/build-tools/26.0.0/:${PATH}"
|
|
||||||
export EDITOR='nano'
|
|
||||||
fpath+=(${LIB}/completions/src ${LIB}/local)
|
|
||||||
|
|
||||||
# Source the needed parts
|
# Export Path
|
||||||
for file in ${ZSHRCD}/*.zsh; do source $file; done # Other Files
|
export PATH="${HOME}/dotfiles/bin:/opt/android-sdk/build-tools/26.0.0/:${HOME}/.fzf/bin:${PATH}"
|
||||||
source ${HOME}/.fzf.zsh # FZF
|
|
||||||
|
# Export Editor
|
||||||
|
export EDITOR='nano'
|
||||||
|
|
||||||
|
# Completions Paths
|
||||||
|
fpath+=(${DOTF_LIB}/completions/src ${DOTF_LIB}/local)
|
||||||
|
|
||||||
|
for file in ${ZSHRCD}/*.zsh; do source $file; done
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
export ZSH="${LIB}/ohmyzsh"
|
export ZSH="${DOTF_LIB}/ohmyzsh"
|
||||||
|
|
||||||
# Settings
|
# Settings
|
||||||
ZSH_THEME="mortalscumbag"
|
ZSH_THEME="mortalscumbag"
|
||||||
|
|
|
@ -268,7 +268,7 @@ ZSH_HIGHLIGHT_MAXLENGTH=10000
|
||||||
zmodload zsh/parameter 2>/dev/null
|
zmodload zsh/parameter 2>/dev/null
|
||||||
|
|
||||||
autoload -U is-at-least
|
autoload -U is-at-least
|
||||||
source "${LIB}/highlight"
|
source "${DOTF_LIB}/highlight"
|
||||||
|
|
||||||
[[ "${+termcap[Co]}" = 1 && "${termcap[Co]}" = "256" ]] && FAST_HIGHLIGHT_STYLES[variable]="fg=112"
|
[[ "${+termcap[Co]}" = 1 && "${termcap[Co]}" = "256" ]] && FAST_HIGHLIGHT_STYLES[variable]="fg=112"
|
||||||
|
|
||||||
|
|
5
config/zsh/zshrc.d/exports/dotfiles.zsh
Normal file
5
config/zsh/zshrc.d/exports/dotfiles.zsh
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
export DOTFILES="${HOME}/dotfiles"
|
||||||
|
export DOTF_LIB="${DOTFILES}/lib"
|
||||||
|
export DOTF_CONF="${DOTFILES}/config"
|
||||||
|
export DOTF_BIN="${DOTFILES}/bin"
|
||||||
|
export ZSHRCD="${DOTF_CON}/zsh/zshrc.d"
|
2
config/zsh/zshrc.d/exports/other.zsh
Normal file
2
config/zsh/zshrc.d/exports/other.zsh
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
export PATH="${HOME}/dotfiles/bin:/opt/android-sdk/build-tools/26.0.0/:${HOME}/.fzf/bin:${PATH}"
|
||||||
|
export EDITOR='nano'
|
|
@ -1 +1 @@
|
||||||
eval `dircolors ${CONFIG}/dir/dircolors`
|
eval `dircolors ${DOTF_CONF}/dir/dircolors`
|
||||||
|
|
2
config/zsh/zshrc.d/functions/fzf.zsh
Normal file
2
config/zsh/zshrc.d/functions/fzf.zsh
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
[[ $- == *i* ]] && source "/home/eeleater/.fzf/shell/completion.zsh" 2> /dev/null
|
||||||
|
source "/home/eeleater/.fzf/shell/key-bindings.zsh"
|
|
@ -1,5 +1,5 @@
|
||||||
export ZSH_PLUGIN_GITIGNORE_PATH=$(dirname $0)
|
export ZSH_PLUGIN_GITIGNORE_PATH=$(dirname $0)
|
||||||
export ZSH_PLUGIN_GITIGNORE_TEMPLATE_PATHS=${LIB}/gitignore
|
export ZSH_PLUGIN_GITIGNORE_TEMPLATE_PATHS=${DOTF_LIB}/gitignore
|
||||||
|
|
||||||
function gie () {
|
function gie () {
|
||||||
${EDITOR} .gitignore
|
${EDITOR} .gitignore
|
||||||
|
|
|
@ -38,7 +38,7 @@ if which tmux &> /dev/null
|
||||||
|
|
||||||
|
|
||||||
# Get the absolute path to the current directory
|
# Get the absolute path to the current directory
|
||||||
local zsh_tmux_plugin_path="$(cd "$(dirname "$0")" && pwd)"
|
local zsh_tmux_plugin_path="/home/eeleater/dotfiles/config/tmux"
|
||||||
|
|
||||||
# Determine if the terminal supports 256 colors
|
# Determine if the terminal supports 256 colors
|
||||||
if [[ `tput colors` == "256" ]]
|
if [[ `tput colors` == "256" ]]
|
||||||
|
|
Loading…
Add table
Reference in a new issue