Perform cleanup

This commit is contained in:
David Holland 2022-12-07 08:35:45 +01:00
parent 52bdddc86a
commit 4aabefffae
Signed by: DustVoice
GPG Key ID: 47068995A14EDCA9
5 changed files with 36 additions and 9 deletions

6
.config/nushell/.gitignore vendored Normal file
View File

@ -0,0 +1,6 @@
/*
/*/
!/.gitignore
!/config.nu
!/env.nu

View File

@ -21,9 +21,9 @@ let-env PROMPT_COMMAND_RIGHT = {}
# The prompt indicators are environmental variables that represent
# the state of the prompt
let-env PROMPT_INDICATOR = { "" }
let-env PROMPT_INDICATOR_VI_INSERT = { ": " }
let-env PROMPT_INDICATOR_VI_NORMAL = { "> " }
let-env PROMPT_MULTILINE_INDICATOR = { "::: " }
let-env PROMPT_INDICATOR_VI_INSERT = { "> " }
let-env PROMPT_INDICATOR_VI_NORMAL = { ": " }
let-env PROMPT_MULTILINE_INDICATOR = { ">>> " }
# Specifies how environment variables are:
# - converted from a string to a value on Nushell startup (from_string)

View File

@ -66,3 +66,30 @@ head .config/nushell/env.nu
$env.PROMPT_INDICATOR
exi
chsh -s /usr/bin/fish dustvoice
ls
oh-my-posh init fish --config "/usr/share/oh-my-posh/themes/dracula.omp.json" | source
oh-my-posh init nu =-config "/usr/share/oh-my-posh/themes/dracula.omp.json"
oh-my-posh init nu --config "/usr/share/oh-my-posh/themes/dracula.omp.json"
source .oh-my-posh.nu
echo hi
et .config/nushell/env.nu
oh-my-posh init nu --config "/usr/share/oh-my-posh/themes/dracula.omp.json"
source .oh-my-posh.nu
echo hi
echo hi | put
echo hi | tabe
echo hi | table
ls
ls | sort-by size
ls | sort-by size | revese
ls | sort-by size | reverse
ls | sort-by size | reverse | where type == dir
ls | where type == file
cat
cat README.md
ls -l
ls -la
ea
exa -la
exa -la | table
ls -la

View File

@ -120,6 +120,4 @@
(add-hook 'post-command-hook #'paw64-post-command-hook nil t)
(electric-indent-local-mode -1)))
(use-package! company-64tass :init :config)
(use-package! flycheck-64tass :init :config)
(use-package! arm-mode :init :config)

View File

@ -67,10 +67,6 @@
(package! paw64-mode
:recipe (:host github :repo "svjson/paw64-mode"))
(package! company-64tass
:recipe (:host github :repo "svjson/company-64tass"))
(package! flycheck-64tass
:recipe (:host github :repo "svjson/flycheck-64tass"))
(package! arm-mode
:recipe (:host github :repo "charje/arm-mode"))
(package! nasm-mode)