Skip to content

Commit

Permalink
universal-ctags is XDG compliant now universal-ctags/ctags#2384
Browse files Browse the repository at this point in the history
  • Loading branch information
davidosomething committed Mar 26, 2020
1 parent 35a527a commit 115181a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 4 additions & 2 deletions bootstrap/cleanup
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,13 @@ __clean_nvm() {
# ============================================================================

__move "${HOME}/.bash_history" "${HOME}/.local/bash_history"
__move "${HOME}/.zhistory" "${HOME}/.local/zsh_history"
__move "${HOME}/.ctags.d" "${XDG_CONFIG_HOME}/ctags"
__move "${HOME}/.gimp-2.8" "${XDG_CONFIG_HOME}/GIMP/2.8"
__move "${HOME}/.hyper.js" "${XDG_CONFIG_HOME}/hyper/.hyper.js"
__move "${HOME}/.inputrc" "${XDG_CONFIG_HOME}/readline/inputrc"
__move "${HOME}/.vagrant.d" "${XDG_DATA_HOME}/vagrant"
__move "${HOME}/.zhistory" "${HOME}/.local/zsh_history"

__merge_dir "${HOME}/.fonts" "${XDG_DATA_HOME}/fonts"

[[ -n "$CARGO_HOME" ]] && __move "${HOME}/.cargo" "$CARGO_HOME"
Expand All @@ -104,7 +106,7 @@ __merge_dir "${HOME}/.fonts" "${XDG_DATA_HOME}/fonts"
__remove "${HOME}/.zshenv"
# support dropped in 2.2.0
__remove "${HOME}/.agignore"
# should be ~/.ctags.d/universal.ctags
# should be ~/.config/ctags/*.ctags
__remove "${HOME}/.ctags"
# should be in XDG_CONFIG_HOME/fzf/fzf.bash and fzf.zsh
__remove "${HOME}/.fzf.bash"
Expand Down
6 changes: 2 additions & 4 deletions bootstrap/symlink
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,6 @@ __symlink() {
dko-symlink "shell/dot.profile" \
".profile"

# universal-ctags
dko-symlink "universal-ctags/dot.ctags" \
".ctags.d/universal.ctags"

# XDG-compatible, not linux specific
dko-symlink "bat/config" \
".config/bat/config"
Expand All @@ -64,6 +60,8 @@ __symlink() {
[ -z "$KITTY_CONFIG_DIRECTORY" ] &&
dko-symlink "kitty/kitty.conf" \
".config/kitty/kitty.conf"
dko-symlink "universal-ctags/dot.ctags" \
".config/ctags/universal.ctags"

# (n)vim / intellij ideavim
dko-symlink "vim" \
Expand Down

0 comments on commit 115181a

Please sign in to comment.