Mercurial > ec-dotfiles
changeset 736:3281fed2e242
Use xdg (.config) path instead of top home directory
author | nanaya <me@nanaya.net> |
---|---|
date | Thu, 09 Jan 2025 03:13:02 +0900 |
parents | 9ad5a65b1c7e |
children | 002d6aa2d76e |
files | rc/gitconfig rc/hgrc rc/irbrc setup |
diffstat | 4 files changed, 11 insertions(+), 13 deletions(-) [+] |
line wrap: on
line diff
--- a/rc/gitconfig Thu Jan 09 00:59:04 2025 +0900 +++ b/rc/gitconfig Thu Jan 09 03:13:02 2025 +0900 @@ -9,8 +9,6 @@ default = current [color] ui = true -[core] - excludesfile = ~/.gitignore_global [diff] algorithm = patience [log]
--- a/rc/hgrc Thu Jan 09 00:59:04 2025 +0900 +++ b/rc/hgrc Thu Jan 09 03:13:02 2025 +0900 @@ -2,8 +2,8 @@ username = nanaya <me@nanaya.net> merge = vimdiff verbose = true -ignore = ~/.hgignore_global -ignore.local = ~/.hgignore_global.local +ignore = ~/.config/hg/ignore +ignore.local = ~/.config/hg/ignore.local [merge-tools] vimdiff.executable = vim @@ -47,4 +47,4 @@ status.unknown = blue bold status.ignored = black bold -%include ~/.hgrc.local +%include ~/.config/hg/hgrc.local
--- a/rc/irbrc Thu Jan 09 00:59:04 2025 +0900 +++ b/rc/irbrc Thu Jan 09 03:13:02 2025 +0900 @@ -1,4 +1,4 @@ IRB.conf[:SAVE_HISTORY] = 20000 -IRB.conf[:HISTORY_FILE] = "#{ENV['HOME']}/.irb_history" +IRB.conf[:HISTORY_FILE] = "#{ENV['HOME']}/.config/irb/history" IRB.conf[:USE_AUTOCOMPLETE] = false IRB.conf[:USE_MULTILINE] = false
--- a/setup Thu Jan 09 00:59:04 2025 +0900 +++ b/setup Thu Jan 09 03:13:02 2025 +0900 @@ -216,19 +216,19 @@ _rc "${1}" "shellinit-posix" ".ec.shellinit-posix" _rc "${1}" "../bin" ".ec.bin" _rc "${1}" "gemrc" ".gemrc" - _rc "${1}" "gitconfig" ".gitconfig" - _rc "${1}" "gitignore_global" ".gitignore_global" - _rc "${1}" "hgrc" ".hgrc" - _touch "${1}" "${HOME}/.hgrc.local" - _rc "${1}" "hgignore_global" ".hgignore_global" - _touch "${1}" "${HOME}/.hgignore_global.local" + _rc "${1}" "gitconfig" ".config/git/config" + _rc "${1}" "gitignore_global" ".config/git/ignore" + _rc "${1}" "hgrc" ".config/hg/hgrc" + _touch "${1}" "${HOME}/.config/hg/hgrc.local" + _rc "${1}" "hgignore_global" ".config/hg/ignore" + _touch "${1}" "${HOME}/.config/hg/ignore.local" _rc "${1}" "editrc" ".editrc" _rc "${1}" "inputrc" ".inputrc" _tmux "${1}" _vim_x "${1}" syntax _vim_packs "${1}" _rc "${1}" "vimrc" ".vimrc" - _rc "${1}" "irbrc" ".irbrc" + _rc "${1}" "irbrc" ".config/irb/irbrc" ;; *) _help