various updates

This commit is contained in:
Valerie Wolfe 2024-02-26 20:05:10 -05:00
parent 295a83b227
commit 3d434d5ac6
4 changed files with 31 additions and 15 deletions

7
bashrc
View file

@ -8,7 +8,11 @@
# If not running interactively, don't do anything # If not running interactively, don't do anything
[[ $- != *i* ]] && return [[ $- != *i* ]] && return
alias exa='exa --tree' if [ -f "$HOME/.profile" ]; then
source "$HOME/.profile"
fi
alias exa='exa --tree --git-ignore'
alias flush='cd; clear; motd' alias flush='cd; clear; motd'
alias fortune='fortune-rs' alias fortune='fortune-rs'
alias hx='helix' alias hx='helix'
@ -37,7 +41,6 @@ if [[ $TERM == 'linux' ]]; then
return return
fi fi
#export PS1="$(starship prompt)"
if [[ $SHLVL -le 3 ]]; then if [[ $SHLVL -le 3 ]]; then
motd motd
fi fi

View file

@ -9,6 +9,9 @@ idle-timeout = 2000
[editor.lsp] [editor.lsp]
display-messages = true display-messages = true
[editor.smart-tab]
enable = false
[keys.insert] [keys.insert]
C-space = "completion" C-space = "completion"

View file

@ -1,25 +1,15 @@
[[language]]
name = "rust"
indent = { tab-width = 4, unit = "\t" }
[[language]] [[language]]
name = "bash" name = "bash"
indent = { tab-width = 4, unit = "\t" } indent = { tab-width = 4, unit = "\t" }
shebangs = ["sh", "bash", "/usr/bin/bash", "/usr/bin/sh"]
[[language]] [[language]]
name = "c" name = "c"
indent = { tab-width = 4, unit = "\t" } indent = { tab-width = 4, unit = "\t" }
[[language]]
name = "cpp"
indent = { tab-width = 4, unit = "\t" }
[[language]] [[language]]
name = "c-sharp" name = "c-sharp"
indent = { tab-width = 4, unit = "\t" } language-servers = [ "omnisharp --languageserver --stdio" ]
language-server = { commmand = "omnisharp", args = [ "--languageserver", "--stdio" ] }
[[language]] [[language]]
name = "css" name = "css"
@ -28,6 +18,11 @@ indent = { tab-width = 4, unit = "\t" }
[[language]] [[language]]
name = "html" name = "html"
indent = { tab-width = 4, unit = "\t" } indent = { tab-width = 4, unit = "\t" }
file-types = [ "html", { suffix = "html.tera" } ]
[[language]]
name = "java"
indent = { tab-width = 4, unit = "\t" }
[[language]] [[language]]
name = "javascript" name = "javascript"
@ -48,14 +43,24 @@ indent = { tab-width = 4, unit = "\t" }
[[language]] [[language]]
name = "php" name = "php"
indent = { tab-width = 4, unit = "\t" } indent = { tab-width = 4, unit = "\t" }
shebangs = ['php', '/usr/bin/php']
[[language]] [[language]]
name = "python" name = "python"
indent = { tab-width = 4, unit = "\t" } indent = { tab-width = 4, unit = "\t" }
shebangs = ['python', '/usr/bin/python']
[[language]]
name = "rust"
indent = { tab-width = 4, unit = "\t" }
[[language]]
name = "sql"
indent = { tab-width = 4, unit = "\t" }
[[language]] [[language]]
name = "toml" name = "toml"
indent = { tab-width = 4, unit = "\t" } indent = { tab-width = 4, unit = "\t" }
[[language]]
name = "xml"
indent = { tab-width = 4, unit = "\t" }

View file

@ -6,6 +6,9 @@
# #
set -g mouse on set -g mouse on
# no ESC delay
set -sg escape-time 10
# __ __ __ _ __ # __ __ __ _ __
# / //_/__ __ __/ /_ (_)___ ____/ /____ # / //_/__ __ __/ /_ (_)___ ____/ /____
# / ,< / _ \/ / / / __ \/ / __ \/ __ / ___/ # / ,< / _ \/ / / / __ \/ / __ \/ __ / ___/
@ -76,3 +79,5 @@ setw -g window-status-bell-style 'fg=colour7 bg=colour202'
set -g message-style 'fg=colour15' set -g message-style 'fg=colour15'
# bg=colour235 # bg=colour235
set fill-character ░