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