Compare commits
No commits in common. "e5d5111d9993d11799bfdf22114bbdb0efda4539" and "1ace05483409e198d9ce24f2ab3b54afa3acab56" have entirely different histories.
e5d5111d99
...
1ace054834
4 changed files with 25 additions and 22 deletions
|
@ -4,31 +4,11 @@ TRAPUSR1() {
|
||||||
exec "${SHELL}"
|
exec "${SHELL}"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
# Add exports
|
|
||||||
if [[ $(uname) == "Darwin" ]]; then
|
if [[ $(uname) == "Darwin" ]]; then
|
||||||
#ONLY MACOS
|
|
||||||
export JAVA_HOME="/opt/homebrew/opt/openjdk@17/libexec/openjdk.jdk/Contents/Home"
|
export JAVA_HOME="/opt/homebrew/opt/openjdk@17/libexec/openjdk.jdk/Contents/Home"
|
||||||
export PATH="/opt/homebrew/bin:$PATH"
|
|
||||||
export PATH="/opt/homebrew/opt/openjdk@17/bin:$PATH"
|
|
||||||
export PATH="/opt/homebrew/opt/texlive/bin:$PATH"
|
|
||||||
else
|
else
|
||||||
#ONLY LINUX
|
|
||||||
export LIBVA_DRIVER_NAME=nvidia
|
export LIBVA_DRIVER_NAME=nvidia
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
#BOTH
|
|
||||||
export PATH="/usr/sbin:/sbin:$PATH"
|
|
||||||
export PATH="$HOME/.local/share/nvim/mason/bin:$PATH"
|
|
||||||
export PATH="$HOME/.local/bin:$PATH"
|
|
||||||
export PATH="$HOME/go/bin:$PATH"
|
|
||||||
export PATH="$HOME/.cargo/bin:$PATH"
|
|
||||||
export PATH="$HOME/.ghcup/bin:$PATH"
|
|
||||||
export PATH="$HOME/.miniforge3/bin:$PATH"
|
|
||||||
export PATH="$HOME/.cabal/bin:$PATH"
|
|
||||||
|
|
||||||
export XDG_CONFIG_HOME="${HOME}/.config"
|
export XDG_CONFIG_HOME="${HOME}/.config"
|
||||||
export XDG_CACHE_HOME="${HOME}/.cache"
|
export XDG_CACHE_HOME="${HOME}/.cache"
|
||||||
export XDG_DATA_HOME="${HOME}/.local/share"
|
export XDG_DATA_HOME="${HOME}/.local/share"
|
||||||
|
|
|
@ -1,3 +1,19 @@
|
||||||
|
# Add paths
|
||||||
|
export PATH="/usr/sbin:/sbin:$PATH"
|
||||||
|
export PATH="$HOME/.local/share/nvim/mason/bin:$PATH"
|
||||||
|
export PATH="$HOME/.local/bin:$PATH"
|
||||||
|
export PATH="$HOME/go/bin:$PATH"
|
||||||
|
export PATH="$HOME/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin:$PATH"
|
||||||
|
export PATH="$HOME/.cargo/bin:$PATH"
|
||||||
|
export PATH="$HOME/.ghcup/bin:$PATH"
|
||||||
|
export PATH="$HOME/.miniforge3/bin:$PATH"
|
||||||
|
export PATH="$HOME/.cabal/bin:$PATH"
|
||||||
|
export GOPATH=$HOME/.go
|
||||||
|
export PATH=$PATH:$GOPATH/bin
|
||||||
|
export PATH="/opt/homebrew/bin:$PATH"
|
||||||
|
export PATH="/opt/homebrew/opt/openjdk@17/bin:$PATH"
|
||||||
|
export PATH="/opt/homebrew/opt/texlive/bin:$PATH"
|
||||||
|
|
||||||
# Setup History
|
# Setup History
|
||||||
HISTFILE=${ZDOTDIR:-$HOME}/.zsh_history
|
HISTFILE=${ZDOTDIR:-$HOME}/.zsh_history
|
||||||
HISTSIZE=100000000
|
HISTSIZE=100000000
|
||||||
|
|
|
@ -5,8 +5,10 @@ source $ZDOTDIR/plugins/zsh-history-substring-search/zsh-history-substring-searc
|
||||||
|
|
||||||
source $ZDOTDIR/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.plugin.zsh
|
source $ZDOTDIR/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.plugin.zsh
|
||||||
|
|
||||||
zvm_after_init_commands+=('source <(fzf --zsh) && enable-fzf-tab')
|
zvm_after_init_commands+=('[ -f $HOME/.fzf.zsh ] && source $HOME/.fzf.zsh')
|
||||||
source $ZDOTDIR/plugins/fzf-tab/fzf-tab.plugin.zsh
|
source $ZDOTDIR/plugins/fzf-tab/fzf-tab.plugin.zsh
|
||||||
|
zstyle ':fzf-tab:complete:cd:*' fzf-preview 'eza -1 --color=always $realpath'
|
||||||
|
enable-fzf-tab
|
||||||
|
|
||||||
source $ZDOTDIR/plugins/zsh-vi-mode/zsh-vi-mode.plugin.zsh
|
source $ZDOTDIR/plugins/zsh-vi-mode/zsh-vi-mode.plugin.zsh
|
||||||
|
|
||||||
|
|
7
.xinitrc
7
.xinitrc
|
@ -36,6 +36,11 @@ setxkbmap -option grp:alt_space_toggle
|
||||||
setxkbmap -option caps:escape
|
setxkbmap -option caps:escape
|
||||||
xset r rate 300 40
|
xset r rate 300 40
|
||||||
|
|
||||||
. $ZDOTDIR/.zshenv
|
#gpu_mode=$(/usr/bin/envycontrol -q)
|
||||||
|
#if [ "$gpu_mode" = "nvidia" ]; then
|
||||||
|
#xrandr --setprovideroutputsource modesetting NVIDIA-0
|
||||||
|
#xrandr --auto
|
||||||
|
#fi
|
||||||
|
|
||||||
|
|
||||||
exec /home/afonso/.local/bin/xmonad
|
exec /home/afonso/.local/bin/xmonad
|
||||||
|
|
Loading…
Reference in a new issue