move $PATH to ~/.profile so i3 can access it

This commit is contained in:
Julian Mutter 2023-03-11 14:07:43 +01:00
parent 16ba012e57
commit af72939279
3 changed files with 15 additions and 10 deletions

View File

@ -23,6 +23,7 @@ mc = "~/.config/mc"
"i3/rofi" = "~/.config/rofi"
"i3/i3-scrot.conf" = "~/.config/i3-scrot.conf"
"i3/i3status-rust" = "~/.config/i3status-rust"
"i3/.profile" = "~/.profile"
[i3.variables]
monitor-primary = "not-specified"

11
i3/.profile Normal file
View File

@ -0,0 +1,11 @@
export GOPATH="~/go";
export PATH=$GOPATH/bin:$PATH
export PATH=/opt/dart-sdk/bin:$PATH
export PATH=~/dev/flutter/bin:$PATH
export PATH=~/.config/emacs/bin:$PATH
export PATH=~/.cargo/bin:$PATH
export PATH=~/perl5/bin:$PATH
export PATH=~/.local/bin:$PATH
export PATH=~/.config/i3/scripts:$PATH

View File

@ -1,15 +1,8 @@
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
export GOPATH="~/go";
export PATH=$GOPATH/bin:$PATH
# $PATH is adapted in ~/.profile
export PATH=~/.config/i3/scripts:$PATH
export PATH=/opt/dart-sdk/bin:$PATH
export PATH=~/dev/flutter/bin:$PATH
export PATH=~/.emacs.d/bin:$PATH
export PATH=~/.cargo/bin:$PATH
export PATH=~/perl5/bin:$PATH
[ -f "~/.ghcup/env" ] && source "~/.ghcup/env" # ghcup-env
PERL5LIB="~/perl5/lib/perl5${PERL5LIB:+:${PERL5LIB}}"; export PERL5LIB;
@ -90,7 +83,7 @@ export ZSH="$HOME/.oh-my-zsh"
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
plugins=(
zsh-z
z
web-search
dirhistory
# colored-man-pages
@ -108,7 +101,7 @@ export VISUAL=/usr/bin/nvim
source $ZSH/oh-my-zsh.sh
alias vi="nvim"
alias vim="nvim"
alias ls="ls --color"
alias grep="grep --color"
alias la="ls -Alh --color"