mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2026-04-13 20:28:35 +10:00
Adding flatpak binary directory to shell's PATH
This commit is contained in:
4
.bashrc
4
.bashrc
@@ -51,6 +51,10 @@ if [ -d "$HOME/Applications" ] ;
|
||||
then PATH="$HOME/Applications:$PATH"
|
||||
fi
|
||||
|
||||
if [ -d "/var/lib/flatpak/exports/bin/" ] ;
|
||||
then PATH="/var/lib/flatpak/exports/bin/:$PATH"
|
||||
fi
|
||||
|
||||
### SETTING OTHER ENVIRONMENT VARIABLES
|
||||
if [ -z "$XDG_CONFIG_HOME" ] ; then
|
||||
export XDG_CONFIG_HOME="$HOME/.config"
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
# First line removes the path; second line sets it. Without the first line,
|
||||
# your path gets massive and fish becomes very slow.
|
||||
set -e fish_user_paths
|
||||
set -U fish_user_paths $HOME/.local/bin $HOME/Applications $fish_user_paths
|
||||
set -U fish_user_paths $HOME/.local/bin $HOME/Applications /var/lib/flatpak/exports/bin/ $fish_user_paths
|
||||
|
||||
### EXPORT ###
|
||||
set fish_greeting # Supresses fish's intro message
|
||||
|
||||
4
.zshrc
4
.zshrc
@@ -43,6 +43,10 @@ if [ -d "$HOME/Applications" ] ;
|
||||
then PATH="$HOME/Applications:$PATH"
|
||||
fi
|
||||
|
||||
if [ -d "/var/lib/flatpak/exports/bin/" ] ;
|
||||
then PATH="/var/lib/flatpak/exports/bin/:$PATH"
|
||||
fi
|
||||
|
||||
### SETTING OTHER ENVIRONMENT VARIABLES
|
||||
if [ -z "$XDG_CONFIG_HOME" ] ; then
|
||||
export XDG_CONFIG_HOME="$HOME/.config"
|
||||
|
||||
Reference in New Issue
Block a user