removes plugin
This commit is contained in:
parent
3a4a06616c
commit
64d7791196
1 changed files with 0 additions and 31 deletions
|
|
@ -1,33 +1,5 @@
|
|||
{ pkgs, ... }:
|
||||
let
|
||||
tmux-current-pane-hostname = pkgs.tmuxPlugins.mkTmuxPlugin {
|
||||
pluginName = "current_pane_hostname";
|
||||
version = "1.0";
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "soyuka";
|
||||
repo = "tmux-current-pane-hostname";
|
||||
rev = "0a8a187afcdf258e32a6b014105c12d344b670a5";
|
||||
hash = "sha256-t5jRUvwiwym6f7vfKD/D0Vu1UXpxRMCLNyBbY0nZciw=";
|
||||
};
|
||||
nativeBuildInputs = [ pkgs.makeWrapper ];
|
||||
postPatch = ''
|
||||
patchShebangs .
|
||||
'';
|
||||
postInstall = ''
|
||||
for script in $target/share/tmux-plugins/*/bin/* $target/share/tmux-plugins/*/*.tmux; do
|
||||
[ -f "$script" ] && [ -x "$script" ] && wrapProgram "$script" \
|
||||
--prefix PATH : ${
|
||||
pkgs.lib.makeBinPath [
|
||||
pkgs.bash
|
||||
pkgs.coreutils
|
||||
pkgs.tmux
|
||||
pkgs.gnused
|
||||
pkgs.gnugrep
|
||||
]
|
||||
}
|
||||
done
|
||||
'';
|
||||
};
|
||||
tmux-compile = pkgs.tmuxPlugins.mkTmuxPlugin {
|
||||
pluginName = "compile-mode";
|
||||
version = "1.0";
|
||||
|
|
@ -140,9 +112,6 @@ in
|
|||
|
||||
unbind v
|
||||
bind v choose-tree -Zw "join-pane -t '%%'"
|
||||
|
||||
# Plugins that need to run last
|
||||
run-shell ${tmux-current-pane-hostname}/share/tmux-plugins/current_pane_hostname/current_pane_hostname.tmux
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue