Skip to content

Commit

Permalink
Revert "xdg_data_home proper set"
Browse files Browse the repository at this point in the history
This reverts commit 16a77d5.
  • Loading branch information
hanoii committed Apr 9, 2024
1 parent 16a77d5 commit a9a8d42
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 17 deletions.
2 changes: 1 addition & 1 deletion .ddev/addon-metadata/pimp-my-shell/manifest.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: pimp-my-shell
repository: .
version: ""
install_date: "2024-04-09T18:25:02-03:00"
install_date: "2024-04-09T17:47:01-03:00"
project_files:
- web-build/Dockerfile.pimp-my-shell
- homeadditions/.bashrc.d/pimp-my-shell.sh
Expand Down
7 changes: 0 additions & 7 deletions .ddev/homeadditions/.bashrc.d/pimp-my-shell.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
#ddev-generated

# xdg
# https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
# This is used mostly by fish, but setting it here in case it's one by something
# else
mkdir -p /mnt/ddev-global-cache/xdg/$HOSTNAME/data
export XDG_DATA_HOME=/mnt/ddev-global-cache/xdg/$HOSTNAME/data

# If not running interactively, don't do anything
case $- in
*i*) ;;
Expand Down
1 change: 0 additions & 1 deletion .ddev/homeadditions/.config/fish/conf.d/pimp-my-shell.fish
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ mkdir -p /mnt/ddev-global-cache/z.lua/$HOSTNAME
set -x _ZL_DATA /mnt/ddev-global-cache/z.lua/$HOSTNAME/.zlua
lua /opt/z.lua/z.lua --init fish | source

# fish
function fish_title
echo "$DDEV_PROJECT ddev@"(fish_prompt_pwd_dir_length=1 prompt_pwd) - $argv
end
7 changes: 0 additions & 7 deletions homeadditions/.bashrc.d/pimp-my-shell.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
#ddev-generated

# xdg
# https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
# This is used mostly by fish, but setting it here in case it's one by something
# else
mkdir -p /mnt/ddev-global-cache/xdg/$HOSTNAME/data
export XDG_DATA_HOME=/mnt/ddev-global-cache/xdg/$HOSTNAME/data

# If not running interactively, don't do anything
case $- in
*i*) ;;
Expand Down
1 change: 0 additions & 1 deletion homeadditions/.config/fish/conf.d/pimp-my-shell.fish
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ mkdir -p /mnt/ddev-global-cache/z.lua/$HOSTNAME
set -x _ZL_DATA /mnt/ddev-global-cache/z.lua/$HOSTNAME/.zlua
lua /opt/z.lua/z.lua --init fish | source

# fish
function fish_title
echo "$DDEV_PROJECT ddev@"(fish_prompt_pwd_dir_length=1 prompt_pwd) - $argv
end

0 comments on commit a9a8d42

Please sign in to comment.