News for hackers. Stuff that matters.
Re:Where your program's configuration files ('dotfiles') sho... by klibertp on Thursday June 15, 2023 @11:44AM (#36342148)
$HOME/.local and $HOME/.config use is increasingly popular, many apps already search these locations in addition to the usual $HOME/.emacs.d/ etc. I use those locations for my stuff, too.

My `ls` is an alias that, among other things, has `-al` in it. It a good default IMO (to each their own), but it means I always see the mess of dotfiles in $HOME. On a system 4 months old, so with only a fraction of what I accrued for years on the previous install, I get these:

    .Xdefaults@
    .apl.history
    .awesome-client_history
    .bash_history
    .bash_logout
    .bash_profile
    .bashrc
    .boto
    .calc_history
    .condarc
    .croissant_history
    .dircolors@
    .dotty_history
    .erlang.cookie
    .fasd
    .fzf.zsh@
    .gitconfig@
    .gtkrc-2.0
    .haxelib
    .inputrc@
    .irb_history
    .jhistory
    .kotlinc_history
    .kshell_history
    .lesshst
    .luajit_history
    .mergerc
    .nano-recentf
    .nano-savehist
    .ocaml_history
    .pdbhistory
    .profile
    .psql_history
    .python_history
    .python_history-81386.tmp
    .racketrc@
    .sbclrc@
    .scala_history_jline3
    .sqlite_history
    .steampath@
    .steampid@
    .tmux.conf@
    .units_history
    .viminfo
    .wezterm.lua
    .wget-hsts
    .xbindkeysrc@
    .xsession@
    .zcompdump
    .zlogout@
    .zshenv
    .zshrc@
I have another alias, `l`, that doesn't do `-l`, which was what I used to get the list ↑. It almost makes the contents of the home dir visible on one "page" of fullscreen terminal emulator (using multiple columns)... Even though I have just a handful of directories and just a few non-dotfiles there. It's Sparta, all the way, especially since many of these are already symlinks to a more centralized location...

There are no comments on this comment yet.