Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
119 changes: 119 additions & 0 deletions .config/starship.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
format = """
[░▒▓](#303030)\
[  ](bg:#303030 fg:#097969)\
[](bg:#303030 fg:#616161)\
$directory\
[](bg:#303030 fg:#616161)\
[▓▒░](#303030)\
$git_branch\
$git_status\
$time\
\n$character"""


[directory]
style = "bold fg:#2EA8FF bg:#303030"
format = "[ $path ]($style)"
# truncation_symbol = "…/"
# configure directory
read_only = " "
# truncation_length = 10
truncate_to_repo = false # truncates directory to root folder if in github repo
# style = "bold blue"

# [directory.substitutions]
# "Documents" = " "
# "Downloads" = " "
# "Music" = " "
# "Pictures" = " "


[localip]
ssh_only = false
format = '📟 [$localipv4](bold red) '
disabled = true

[username]
style_user = "green bold"
style_root = "red bold"
format = "   [$user]($style) "
disabled = false
show_always = true

[hostname]
ssh_only = false
format = '[$hostname](bold yellow) '
trim_at = "."
disabled = true

# Replace the "❯" symbol in the prompt with "➜"
[character] # The name of the module we are configuring is "character"
success_symbol = "[❯](bold green)" # The "success_symbol" segment is being set to "➜" with the color "bold green"
error_symbol = "[✗](bold red)"
#  
[cmd_duration]
min_time = 4
show_milliseconds = false
disabled = false
style = "bold italic red"

[aws]
symbol = " "

[docker_context]
symbol = " "
format = "via [$symbol$context]($style) "
style = "blue bold"
only_with_files = true
detect_files = ["docker-compose.yml", "docker-compose.yaml", "Dockerfile"]
detect_folders = []
disabled = false

[git_branch]
# style = 'bold purple bg:#303030'
symbol = " "

[golang]
symbol = " "

[hg_branch]
symbol = " "

[memory_usage]
symbol = "󰍛 "

[nim]
symbol = " "

[nix_shell]
symbol = " "

[package]
symbol = "󰏗 "

[perl]
symbol = " "

[python]
symbol = " "
#pyenv_version_name = true
format = 'via [${symbol}python (${version} )(\($virtualenv\) )]($style)'
style = "bold yellow"
pyenv_prefix = "venv "
python_binary = ["./venv/bin/python", "python", "python3", "python2"]
detect_extensions = ["py"]
version_format = "v${raw}"

[ruby]
symbol = " "

[rust]
symbol = " "

[shlvl]
symbol = " "

[nodejs]
format = "via [ Node.js $version](bold green) "
detect_files = ["package.json", ".node-version"]
detect_folders = ["node_modules"]
13 changes: 13 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: trailing-whitespace
- id: check-merge-conflict
- id: check-added-large-files
- id: check-toml
- id: check-yaml
- id: check-json
- id: debug-statements
- id: detect-private-key
- id: end-of-file-fixer
19 changes: 7 additions & 12 deletions .spacemacs
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@ This function should only modify configuration layer settings."
common-lisp
lsp
helm
;; ansible
;; nginx
multiple-cursors
spacemacs-completion
spacemacs-layouts
spacemacs-editing
Expand All @@ -55,14 +54,9 @@ This function should only modify configuration layer settings."
spacemacs-language
spacemacs-misc
spacemacs-modeline
;; spacemacs-navigation
spacemacs-org
;; spacemacs-purpose
spacemacs-visual
spell-checking
syntax-checking
;; languagetool
;; web-beautify
;; -- version control --
(shell :variables
shell-default-height 30
Expand All @@ -81,9 +75,8 @@ This function should only modify configuration layer settings."
treemacs-use-filewatch-mode t
treemacs-use-all-the-icons-theme t)
;; tabs

;; -- files --
;; html
toml
(markdown :variables
markdown-live-preview-engine 'vmd
markdown-mmm-auto-modes '("c" "c++" "python" "scala" ("elisp" "emacs-lisp")))
Expand All @@ -105,8 +98,8 @@ This function should only modify configuration layer settings."
python-fill-column 99)
(sql :variables
sql-auto-indent nil
sql-backend 'lsp
sql-lsp-sqls-workspace-config-path 'workspace
;; sql-backend 'lsp
;; sql-lsp-sqls-workspace-config-path 'workspace
sql-capitalize-keywords nil
sql-capitalize-keywords-blacklist '("name" "varchar"))
(shell-scripts :variables shell-scripts-backend 'lsp)
Expand All @@ -115,7 +108,9 @@ This function should only modify configuration layer settings."
(docker :variables
docker-dockerfile-backend 'lsp
shell-scripts-format-on-save t)

(terraform :variables
terraform-auto-format-on-save t
terraform-backend 'lsp)
)


Expand Down
8 changes: 0 additions & 8 deletions sqls.json

This file was deleted.