From: LuckyWindsck Date: Sat, 7 Jun 2025 11:38:08 +0000 (+0900) Subject: Add files for git & gitkraken + update php (#479) X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/xdg-ninja.git/commitdiff_plain/60f8f9de0c20547e49939abbb64faba61790db81?ds=sidebyside Add files for git & gitkraken + update php (#479) * feat(git): add .gitk & .gitignore References: - .gitconfig: https://git-scm.com/docs/git-config#SCOPES - .git-credentials: https://git-scm.com/docs/git-credential-store#FILES - .gitignore: https://git-scm.com/docs/gitignore#_synopsis - .gitk: https://git-scm.com/docs/gitk#_files * feat(gitkraken): add .gk References: - .gk - Issue: https://github.com/gitkraken/vscode-gitlens/issues/3660 - PR: https://github.com/gitkraken/vscode-gitlens/pull/3904 - Implementation (v17.1.1): https://github.com/gitkraken/vscode-gitlens/blob/v17.1.1/src/env/node/gk/localSharedGkStorageLocationProvider.ts#L33 * feat(php): update .php_history References: - .php_history: https://www.php.net/manual/en/migration84.new-features.php#migration84.new-features.readline --- diff --git a/programs/git.json b/programs/git.json index 62b6f46..7e61c2b 100644 --- a/programs/git.json +++ b/programs/git.json @@ -10,6 +10,16 @@ "path": "$HOME/.git-credentials", "movable": true, "help": "XDG is supported out-of-the-box, so we can simply move the file to _$XDG_CONFIG_HOME/git/credentials_.\n" + }, + { + "path": "$HOME/.gitk", + "movable": true, + "help": "XDG is supported out-of-the-box, so we can simply move the file to _$XDG_CONFIG_HOME/git/gitk_.\n" + }, + { + "path": "$HOME/.gitignore", + "movable": true, + "help": "XDG is supported out-of-the-box, so we can simply move the file to _$XDG_CONFIG_HOME/git/ignore_.\n" } ] } diff --git a/programs/gitkraken.json b/programs/gitkraken.json index 3a23a20..6b39ac3 100644 --- a/programs/gitkraken.json +++ b/programs/gitkraken.json @@ -5,6 +5,11 @@ "path": "$HOME/.gitkraken", "movable": false, "help": "Currently unsupported.\n\n_Relevant issue:_ https://feedback.gitkraken.com/suggestions/197923/support-for-moving-the-config-directory-on-linux\n" + }, + { + "path": "$HOME/.gk", + "movable": true, + "help": "XDG is supported out-of-the-box, so we can simply move the file to _$XDG_DATA_HOME/gk_.\n" } ] } diff --git a/programs/php.json b/programs/php.json index 2bf91ec..eac6a40 100644 --- a/programs/php.json +++ b/programs/php.json @@ -3,8 +3,8 @@ "files": [ { "path": "$HOME/.php_history", - "movable": false, - "help": "Currently unsupported.\n\n_Relevant issue:_ https://github.com/php/php-src/issues/8546\n" + "movable": true, + "help": "Support since PHP _8.4_ through the PHP_HISTFILE environment variable.\n\nExport the following environment variable:\n\n```sh\nexport PHP_HISTFILE=\"$XDG_STATE_HOME\"/php/history\n```\n" } ] }