Skip to content

Commit

Permalink
tmuxPlugins.t-smart-tmux-session-manager: init at 2.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
hmajid2301 committed Jan 25, 2024
1 parent f0663cd commit 9404f2a
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions pkgs/misc/tmux-plugins/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -651,6 +651,28 @@ in rec {
inherit mkTmuxPlugin;
};

t-smart-tmux-session-manager = mkTmuxPlugin rec {
pluginName = "t-smart-tmux-session-manager";
version = "2.8.0";
rtpFilePath = "t-smart-tmux-session-manager.tmux";
src = pkgs.fetchFromGitHub {
owner = "joshmedeski";
repo = "t-smart-tmux-session-manager";
rev = "v${version}";
sha256 = "sha256-EMDEEIWJ+XFOk0WsQPAwj9BFBVDNwFUCyd1ScceqKpc=";
};
nativeBuildInputs = [ pkgs.makeWrapper ];
postInstall = ''
wrapProgram $out/share/tmux-plugins/t-smart-tmux-session-manager/bin/t \
--prefix PATH : ${with pkgs; lib.makeBinPath (
[ pkgs.fzf pkgs.zoxide ]
)}
find $target -type f -print0 | xargs -0 sed -i -e 's|fzf |${pkgs.fzf}/bin/fzf |g'
find $target -type f -print0 | xargs -0 sed -i -e 's|zoxide |${pkgs.zoxide}/bin/zoxide |g'
'';
};

urlview = mkTmuxPlugin {
pluginName = "urlview";
version = "unstable-2016-01-06";
Expand Down

0 comments on commit 9404f2a

Please sign in to comment.