Configurations and Enhancements: Added Alacritty terminal settings, adjusted Cava audio visualizer and i3 window manager configurations, updated Nushell settings, refined Ranger bookmarks, introduced a battery statistics script, updated SSH configurations, fine-tuned Emacs and Zsh settings. Also, included new files for battery statistics and Emacs-related configurations. This commit enhances the overall user experience and system configurations.

Signed-off-by: TuDatTr <tuan-dat.tran@tudattr.dev>
This commit is contained in:
TuDatTr
2024-02-15 21:19:02 +01:00
parent 38b7133cfb
commit 59e661e620
13 changed files with 100 additions and 61 deletions

View File

@@ -191,9 +191,6 @@ $env.config = {
rm: {
always_trash: false # always act as if -t was given. Can be overridden with -p
}
cd: {
abbreviations: false # allows `cd s/o/f` to expand to `cd some/other/folder`
}
table: {
mode: rounded # basic, compact, compact_double, light, thin, with_love, rounded, reinforced, heavy, none, other
index_mode: always # "always" show indexes, "never" show indexes, "auto" = show indexes when a table has "index" column
@@ -541,7 +538,7 @@ $env.config = {
}
def add_soft [project] { git remote add soft $"ssh://git.aya00:/($project)" }
export def-env own_ranger [] {
export def --env own_ranger [] {
let lastdir_path = $"($env.HOME)/.rangerdir";
^ranger $"--choosedir=($lastdir_path)";
let lastdir = (open $lastdir_path);
@@ -550,8 +547,8 @@ export def-env own_ranger [] {
def pwd_xsel [] {
let path = $"(pwd)";
$"cd `($path)`"| xsel -b;
$"Copied `($path)`";
$"cd \"($path)\"; nu;"| xsel -b;
$"Copied \"($path)\"; nu;";
}
alias ll = ls -la

View File

@@ -82,8 +82,4 @@ $env.NU_PLUGIN_DIRS = [
# To add entries to PATH (on Windows you might use Path), you can use the following pattern:
# $env.PATH = ($env.PATH | split row (char esep))
$env.EDITOR = "emacs -nw"
$env.VISUAL = "bat"
$env.PAGER = "bat --pager auto"
$env.KUBECONFIG = $"($env.HOME)/.kube/config"