Remove scripts that are now in the z application
This commit is contained in:
parent
a1b3975f39
commit
dc510daa75
9 changed files with 4 additions and 198 deletions
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
runtimeInputs = with pkgs; [
|
||||
git
|
||||
psArgs.config.packages.tmux-sessionizer
|
||||
psArgs.config.packages.start-tmux
|
||||
];
|
||||
|
||||
text = ''
|
||||
|
|
@ -29,13 +29,13 @@
|
|||
user_path="$XDG_REPOS_DIR/$domain/$user"
|
||||
repo_path="$user_path/$name"
|
||||
|
||||
[[ -d "$repo_path" ]] && tmux-sessionizer "$repo_path" && exit 0
|
||||
[[ -d "$repo_path" ]] && start-tmux "$repo_path" && exit 0
|
||||
|
||||
mkdir -pv "$repo_path"
|
||||
|
||||
git clone "$repo_url" "$repo_path"
|
||||
|
||||
tmux-sessionizer "$repo_path"
|
||||
start-tmux "$repo_path"
|
||||
else
|
||||
exit 1
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue