1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-26 21:19:45 +01:00

tmux: use stable plugin names (name -> pname)

PR #1195
This commit is contained in:
Johannes Rosenberger 2020-04-25 14:40:32 +02:00 committed by Robert Helgesson
parent ad8b644de1
commit 23220d43f3
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89
2 changed files with 12 additions and 2 deletions

View file

@ -6,7 +6,7 @@ let
cfg = config.programs.tmux;
pluginName = p: if types.package.check p then p.name else p.plugin.name;
pluginName = p: if types.package.check p then p.pname else p.plugin.pname;
pluginModule = types.submodule {
options = {
@ -302,7 +302,9 @@ in
# Load plugins with Home Manager #
# --------------------------------------------- #
${(concatMapStringsSep "\n" (p: ''
${(concatMapStringsSep "\n\n" (p: ''
# ${pluginName p}
# ---------------------
${p.extraConfig or ""}
run-shell ${
if types.package.check p

View file

@ -34,13 +34,21 @@ set -g history-limit 2000
# Load plugins with Home Manager #
# --------------------------------------------- #
# tmuxplugin-logging
# ---------------------
run-shell @tmuxplugin_logging_rtp@
# tmuxplugin-prefix-highlight
# ---------------------
run-shell @tmuxplugin_prefix_highlight_rtp@
# tmuxplugin-fzf-tmux-url
# ---------------------
run-shell @tmuxplugin_fzf_tmux_url_rtp@
# ============================================= #