No description
Find a file
Nuno Sá e9f46f76ca scripts: git: add '--no-optional-locks' option
As stated in 'git status --help':

"By default, git status will automatically refresh the index, updating
the cached stat information from the working tree and writing out the
result. Writing out the updated index is an optimization that isn’t
strictly necessary (status computes the values for itself, but writing
them out is just to save subsequent programs from repeating our
computation). When status is run in the background, the lock held during
the write may conflict with other simultaneous processes, causing them to
fail. Scripts running status in the background should consider using git
--no-optional-locks status (see git(1) for details)."

This was actually happen during rebasing whith the following error:

"error: Unable to create '/home/nsa/work/linux/.git/index.lock': File
exists.

Another git process seems to be running in this repository, e.g.
an editor opened by 'git commit'. Please make sure all processes
are terminated then try again. If it still fails, a git process
may have crashed in this repository earlier:
remove the file manually to continue."

This change fixes the above...

Signed-off-by: Nuno Sá <noname.nuno@gmail.com>
2022-09-06 14:36:47 +02:00
.github rename workflow 2021-08-26 16:27:14 -04:00
data Change weather_sleep to avoid writing to tracked files 2020-09-12 19:11:25 -04:00
scripts scripts: git: add '--no-optional-locks' option 2022-09-06 14:36:47 +02:00
.editorconfig consistent formatting across all scripts 2021-07-06 10:22:36 +02:00
.gitignore Change weather_sleep to avoid writing to tracked files 2020-09-12 19:11:25 -04:00
.gitmodules trying to get battery to work 2020-03-14 13:36:46 -07:00
dracula.tmux celsius option 2020-04-29 11:33:51 -07:00
INSTALL.md scripts: git: add option for untracked files 2022-09-05 16:07:43 +02:00
LICENSE update readme 2020-03-30 23:47:22 -07:00
README.md 📝 Update readme 2022-03-20 22:37:01 -03:00
screenshot.png prepping for transfer to official organization 2020-04-07 10:39:56 -07:00

Dracula for tmux

A dark theme for tmux

Screenshot

Install

All instructions can be found at draculatheme.com/tmux.

Configuration

Configuration and options can be found at draculatheme.com/tmux.

Features

  • Support for powerline
  • Day, date, time, timezone
  • Current location based on network with temperature and forecast icon (if available)
  • Network connection status, bandwidth and SSID
  • Git branch and status
  • Battery percentage and AC power connection status
  • Refresh rate control
  • CPU usage (percentage or load average)
  • RAM usage
  • GPU usage
  • Color code based on if prefix is active or not
  • List of windows with current window highlighted
  • When prefix is enabled smiley face turns from green to yellow
  • When charging, 'AC' is displayed
  • If forecast information is available, a ☀, ☁, ☂, or ❄ unicode character corresponding with the forecast is displayed alongside the temperature

Compatibility

Compatible with macOS and Linux. Tested on tmux 3.1b FreeBSD compatibility is in development

Team

This theme is maintained by the following person(s) and a bunch of awesome contributors.

Dane Williams Ethan Edwards
Dane Williams Ethan Edwards

Community

  • Twitter - Best for getting updates about themes and new stuff.
  • GitHub - Best for asking questions and discussing issues.
  • Discord - Best for hanging out with the community.

License

MIT License