diff options
author | Akshay <[email protected]> | 2022-02-20 09:06:28 +0000 |
---|---|---|
committer | Akshay <[email protected]> | 2022-02-20 09:06:28 +0000 |
commit | 0ed4698d124a4bfd9e57fbe99d89b6a46a7c11f0 (patch) | |
tree | bdad5b0ebe7a465c61a94651e477b14e4f413242 | |
parent | d8f8b6dc8a5c3789cf78e634899e629c7945a5a9 (diff) |
fix bug with tmux-prompt
-rw-r--r-- | flake.lock | 59 | ||||
-rw-r--r-- | programs/tmux.nix | 4 |
2 files changed, 25 insertions, 38 deletions
@@ -2,7 +2,7 @@ | |||
2 | "nodes": { | 2 | "nodes": { |
3 | "fenix": { | 3 | "fenix": { |
4 | "inputs": { | 4 | "inputs": { |
5 | "nixpkgs": "nixpkgs_4", | 5 | "nixpkgs": "nixpkgs_3", |
6 | "rust-analyzer-src": "rust-analyzer-src" | 6 | "rust-analyzer-src": "rust-analyzer-src" |
7 | }, | 7 | }, |
8 | "locked": { | 8 | "locked": { |
@@ -21,7 +21,7 @@ | |||
21 | }, | 21 | }, |
22 | "fenix_2": { | 22 | "fenix_2": { |
23 | "inputs": { | 23 | "inputs": { |
24 | "nixpkgs": "nixpkgs_6", | 24 | "nixpkgs": "nixpkgs_5", |
25 | "rust-analyzer-src": "rust-analyzer-src_2" | 25 | "rust-analyzer-src": "rust-analyzer-src_2" |
26 | }, | 26 | }, |
27 | "locked": { | 27 | "locked": { |
@@ -71,7 +71,7 @@ | |||
71 | }, | 71 | }, |
72 | "gitignore": { | 72 | "gitignore": { |
73 | "inputs": { | 73 | "inputs": { |
74 | "nixpkgs": "nixpkgs_5" | 74 | "nixpkgs": "nixpkgs_4" |
75 | }, | 75 | }, |
76 | "locked": { | 76 | "locked": { |
77 | "lastModified": 1635165013, | 77 | "lastModified": 1635165013, |
@@ -89,7 +89,7 @@ | |||
89 | }, | 89 | }, |
90 | "gitignore_2": { | 90 | "gitignore_2": { |
91 | "inputs": { | 91 | "inputs": { |
92 | "nixpkgs": "nixpkgs_7" | 92 | "nixpkgs": "nixpkgs_6" |
93 | }, | 93 | }, |
94 | "locked": { | 94 | "locked": { |
95 | "lastModified": 1635165013, | 95 | "lastModified": 1635165013, |
@@ -130,14 +130,14 @@ | |||
130 | "inputs": { | 130 | "inputs": { |
131 | "flake-compat": "flake-compat", | 131 | "flake-compat": "flake-compat", |
132 | "neovim-flake": "neovim-flake", | 132 | "neovim-flake": "neovim-flake", |
133 | "nixpkgs": "nixpkgs_2" | 133 | "nixpkgs": "nixpkgs" |
134 | }, | 134 | }, |
135 | "locked": { | 135 | "locked": { |
136 | "lastModified": 1643443970, | 136 | "lastModified": 1644135144, |
137 | "narHash": "sha256-NVm4ccMpP72i5kD8izidLD3a4s/5WlWesrYv1Arz8O4=", | 137 | "narHash": "sha256-ga02Em84w/rmDVoHha8PG9wiznz9Ew7ReETbXnokj7M=", |
138 | "owner": "nix-community", | 138 | "owner": "nix-community", |
139 | "repo": "neovim-nightly-overlay", | 139 | "repo": "neovim-nightly-overlay", |
140 | "rev": "4c80ac9a435c2a0d22cb7067eb65cf3f6962124d", | 140 | "rev": "98a805c76bf18c9a45b0e0c729cc0e2975c25628", |
141 | "type": "github" | 141 | "type": "github" |
142 | }, | 142 | }, |
143 | "original": { | 143 | "original": { |
@@ -149,15 +149,18 @@ | |||
149 | "neovim-flake": { | 149 | "neovim-flake": { |
150 | "inputs": { | 150 | "inputs": { |
151 | "flake-utils": "flake-utils", | 151 | "flake-utils": "flake-utils", |
152 | "nixpkgs": "nixpkgs" | 152 | "nixpkgs": [ |
153 | "neovim", | ||
154 | "nixpkgs" | ||
155 | ] | ||
153 | }, | 156 | }, |
154 | "locked": { | 157 | "locked": { |
155 | "dir": "contrib", | 158 | "dir": "contrib", |
156 | "lastModified": 1643415762, | 159 | "lastModified": 1644113939, |
157 | "narHash": "sha256-qyk81eVlmm2U7apLHZlggoj1v9MIKX1YWWaALPKPNFc=", | 160 | "narHash": "sha256-n5rTM+kjEoXxTqaHle4AhrSiqRW2fc2U+Kor1whbaXQ=", |
158 | "owner": "neovim", | 161 | "owner": "neovim", |
159 | "repo": "neovim", | 162 | "repo": "neovim", |
160 | "rev": "082ff2190c793d21c213748e556191f8aaa76cde", | 163 | "rev": "8215c05945054755b2c3cadae198894372dbfe0f", |
161 | "type": "github" | 164 | "type": "github" |
162 | }, | 165 | }, |
163 | "original": { | 166 | "original": { |
@@ -184,11 +187,11 @@ | |||
184 | }, | 187 | }, |
185 | "nixpkgs": { | 188 | "nixpkgs": { |
186 | "locked": { | 189 | "locked": { |
187 | "lastModified": 1643347846, | 190 | "lastModified": 1643805626, |
188 | "narHash": "sha256-O0tyXF//ppRpe9yT1Uu5n34yI2MWDyY6ZiJ4Qn5zIkE=", | 191 | "narHash": "sha256-AXLDVMG+UaAGsGSpOtQHPIKB+IZ0KSd9WS77aanGzgc=", |
189 | "owner": "nixos", | 192 | "owner": "nixos", |
190 | "repo": "nixpkgs", | 193 | "repo": "nixpkgs", |
191 | "rev": "5bb20f9dc70e9ee16e21cc404b6508654931ce41", | 194 | "rev": "554d2d8aa25b6e583575459c297ec23750adb6cb", |
192 | "type": "github" | 195 | "type": "github" |
193 | }, | 196 | }, |
194 | "original": { | 197 | "original": { |
@@ -200,22 +203,6 @@ | |||
200 | }, | 203 | }, |
201 | "nixpkgs_2": { | 204 | "nixpkgs_2": { |
202 | "locked": { | 205 | "locked": { |
203 | "lastModified": 1643169865, | ||
204 | "narHash": "sha256-+KIpNRazbc8Gac9jdWCKQkFv9bjceaLaLhlwqUEYu8c=", | ||
205 | "owner": "nixos", | ||
206 | "repo": "nixpkgs", | ||
207 | "rev": "945ec499041db73043f745fad3b2a3a01e826081", | ||
208 | "type": "github" | ||
209 | }, | ||
210 | "original": { | ||
211 | "owner": "nixos", | ||
212 | "ref": "nixos-unstable", | ||
213 | "repo": "nixpkgs", | ||
214 | "type": "github" | ||
215 | } | ||
216 | }, | ||
217 | "nixpkgs_3": { | ||
218 | "locked": { | ||
219 | "lastModified": 1643347846, | 206 | "lastModified": 1643347846, |
220 | "narHash": "sha256-O0tyXF//ppRpe9yT1Uu5n34yI2MWDyY6ZiJ4Qn5zIkE=", | 207 | "narHash": "sha256-O0tyXF//ppRpe9yT1Uu5n34yI2MWDyY6ZiJ4Qn5zIkE=", |
221 | "owner": "NixOS", | 208 | "owner": "NixOS", |
@@ -230,7 +217,7 @@ | |||
230 | "type": "github" | 217 | "type": "github" |
231 | } | 218 | } |
232 | }, | 219 | }, |
233 | "nixpkgs_4": { | 220 | "nixpkgs_3": { |
234 | "locked": { | 221 | "locked": { |
235 | "lastModified": 1643347846, | 222 | "lastModified": 1643347846, |
236 | "narHash": "sha256-O0tyXF//ppRpe9yT1Uu5n34yI2MWDyY6ZiJ4Qn5zIkE=", | 223 | "narHash": "sha256-O0tyXF//ppRpe9yT1Uu5n34yI2MWDyY6ZiJ4Qn5zIkE=", |
@@ -246,7 +233,7 @@ | |||
246 | "type": "github" | 233 | "type": "github" |
247 | } | 234 | } |
248 | }, | 235 | }, |
249 | "nixpkgs_5": { | 236 | "nixpkgs_4": { |
250 | "locked": { | 237 | "locked": { |
251 | "lastModified": 1643322911, | 238 | "lastModified": 1643322911, |
252 | "narHash": "sha256-WLe4lXAYXH/v80iO02npX1wdXq4nIVEHJTONLXbQrL0=", | 239 | "narHash": "sha256-WLe4lXAYXH/v80iO02npX1wdXq4nIVEHJTONLXbQrL0=", |
@@ -260,7 +247,7 @@ | |||
260 | "type": "indirect" | 247 | "type": "indirect" |
261 | } | 248 | } |
262 | }, | 249 | }, |
263 | "nixpkgs_6": { | 250 | "nixpkgs_5": { |
264 | "locked": { | 251 | "locked": { |
265 | "lastModified": 1643347846, | 252 | "lastModified": 1643347846, |
266 | "narHash": "sha256-O0tyXF//ppRpe9yT1Uu5n34yI2MWDyY6ZiJ4Qn5zIkE=", | 253 | "narHash": "sha256-O0tyXF//ppRpe9yT1Uu5n34yI2MWDyY6ZiJ4Qn5zIkE=", |
@@ -276,7 +263,7 @@ | |||
276 | "type": "github" | 263 | "type": "github" |
277 | } | 264 | } |
278 | }, | 265 | }, |
279 | "nixpkgs_7": { | 266 | "nixpkgs_6": { |
280 | "locked": { | 267 | "locked": { |
281 | "lastModified": 1643322911, | 268 | "lastModified": 1643322911, |
282 | "narHash": "sha256-WLe4lXAYXH/v80iO02npX1wdXq4nIVEHJTONLXbQrL0=", | 269 | "narHash": "sha256-WLe4lXAYXH/v80iO02npX1wdXq4nIVEHJTONLXbQrL0=", |
@@ -317,7 +304,7 @@ | |||
317 | "home-manager": "home-manager", | 304 | "home-manager": "home-manager", |
318 | "neovim": "neovim", | 305 | "neovim": "neovim", |
319 | "nixos-hardware": "nixos-hardware", | 306 | "nixos-hardware": "nixos-hardware", |
320 | "nixpkgs": "nixpkgs_3", | 307 | "nixpkgs": "nixpkgs_2", |
321 | "prompt": "prompt", | 308 | "prompt": "prompt", |
322 | "statix": "statix" | 309 | "statix": "statix" |
323 | } | 310 | } |
diff --git a/programs/tmux.nix b/programs/tmux.nix index 1e3a488..5f58108 100644 --- a/programs/tmux.nix +++ b/programs/tmux.nix | |||
@@ -82,8 +82,8 @@ | |||
82 | set -ag status-right "#[fg=colour7]#(bat -q)#[fg=colour12]" | 82 | set -ag status-right "#[fg=colour7]#(bat -q)#[fg=colour12]" |
83 | 83 | ||
84 | # status left | 84 | # status left |
85 | set -g status-left "#[fg=colour7]#(${pkgs.prompt}/bin/prompt cwd #{pane_current_path}) " | 85 | set -g status-left "#[fg=colour7]#(${pkgs.prompt}/bin/prompt cwd '#{pane_current_path}') " |
86 | set -ag status-left "#[fg=colour7]#(${pkgs.prompt}/bin/prompt vcs #{pane_current_path})" | 86 | set -ag status-left "#[fg=colour7]#(${pkgs.prompt}/bin/prompt vcs '#{pane_current_path}')" |
87 | ''; | 87 | ''; |
88 | }; | 88 | }; |
89 | } | 89 | } |