-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
116 changed files
with
141 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
# Space or Tabs? | ||
# https://stackoverflow.com/questions/35649847/objective-reasons-for-using-spaces-instead-of-tabs-for-indentation | ||
# https://stackoverflow.com/questions/12093748/how-to-use-tabs-instead-of-spaces-in-a-shell-script | ||
# | ||
# 1. What happens when I press the Tab key in my text editor? | ||
# 2. What happens when I request my editor to indent one or more lines? | ||
# 3. What happens when I view a file containing U+0009 HORIZONTAL TAB characters? | ||
# | ||
# Answers: | ||
# | ||
# 1. Pressing the Tab key should indent the current line (or selected lines) one additional level. | ||
# 2. As a secondary alternative, I can also tolerate an editor that, | ||
# like Emacs, uses this key for a context-sensitive fix-my-indentation command. | ||
# 3. Indenting one or more lines should follow the reigning convention, if consensus is sufficiently strong; otherwise, | ||
# I greatly prefer 2-space indentation at each level. U+0009 characters should shift subsequent characters to the next tab stop. | ||
# | ||
# Note: VIM users should use alternate marks [[[ and ]]] as the original ones can confuse nested substitutions, e.g.: ${${${VAR}}} | ||
# | ||
# -*- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*- | ||
# vim: ft=zsh sw=2 ts=2 et | ||
|
||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
||
[*.{md,rst}] | ||
insert_final_newline = false | ||
trim_trailing_whitespace = false | ||
|
||
[*.{sh,bash,zsh,fish}] | ||
indent_style = space | ||
indent_size = 2 | ||
tab_width = 2 | ||
|
||
[Makefile] | ||
indent_style = tab | ||
indent_size = 4 | ||
|
||
[*.{css,less}] | ||
indent_style = space | ||
indent_size = 2 | ||
|
||
[*.{py,rb}] | ||
indent_style = space | ||
indent_size = 4 | ||
|
||
[*.{go,java,scala,groovy,kotlin}] | ||
indent_style = tab | ||
indent_size = 4 | ||
|
||
[*.{js,jsx,html,xml,sass,json,yml,yaml,toml}] | ||
charset = utf-8 | ||
indent_style = space | ||
indent_size = 2 | ||
|
||
[CHANGELOG.md] | ||
indent_style = tab | ||
indent_size = 4 |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
name: "⭕ Trunk" | ||
on: | ||
push: | ||
branches: ["main"] | ||
tags: ["v*.*.*"] | ||
pull_request: | ||
types: [opened, synchronize] | ||
workflow_dispatch: {} | ||
|
||
jobs: | ||
check-call: | ||
name: "⚡" | ||
uses: z-shell/.github/.github/workflows/trunk-call.yml@main |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,22 @@ | ||
version: 0.1 | ||
cli: | ||
version: 0.9.3-beta | ||
version: 0.12.1-beta | ||
repo: | ||
repo: | ||
host: github.com | ||
owner: z-shell | ||
name: playground | ||
lint: | ||
linters: | ||
- name: markdownlint | ||
command: | ||
[markdownlint, -q, --config, .github/.markdownlint.yaml, "${target}"] | ||
direct_configs: [.github/.markdownlint.yaml] | ||
enabled: | ||
- [email protected].9 | ||
- gitleaks@8.3.0 | ||
- hadolint@2.8.0 | ||
- [email protected].13 | ||
- gitleaks@8.8.7 | ||
- hadolint@2.10.0 | ||
- [email protected] | ||
- prettier@2.5.1 | ||
- prettier@2.6.2 | ||
- [email protected] | ||
- [email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"conventionalCommits.scopes": [ | ||
"maintenance", | ||
"workspace", | ||
"community", | ||
"general", | ||
"theme" | ||
], | ||
"markdownlint.config": { | ||
"extends": ".github/.markdownlint.yaml" | ||
}, | ||
"files.associations": { | ||
"*.md": "mdx" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,5 +2,5 @@ | |
CURRENT_DIR=${0:a:h} | ||
|
||
playground() { | ||
"${CURRENT_DIR}"/run.sh | ||
"${CURRENT_DIR}"/run.sh | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/usr/bin/env zsh | ||
|
||
case $(uname) in | ||
Darwin) | ||
brew install fzf | ||
;; | ||
Linux) | ||
# No such package | ||
# sudo apt install fzf | ||
: | ||
;; | ||
*) | ||
: | ||
;; | ||
esac |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
22 changes: 9 additions & 13 deletions
22
z-shell/kickstart/.zshrc → profiles/z-shell/kickstart/.zshrc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,20 @@ | ||
# ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ ❮ Z-SHELL ❯ ❮ ZI ❯ | ||
# ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ ❮ Z-SHELL ❯ ❮ ZI ❯ | ||
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then | ||
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" | ||
fi | ||
source <(curl -sL https://init.zshell.dev); zzinit | ||
zi for z-shell/z-a-meta-plugins @annexes \ | ||
skip'hexyl hyperfine vivid tig' @console-tools \ | ||
skip'git-extras' @ext-git \ | ||
skip'peko skim fzy' @fuzzy \ | ||
skip'git-extras' @ext-git @romkatv \ | ||
skip'F-Sy-H' @z-shell @zsh-users+fast | ||
skip'hexyl hyperfine vivid tig' @console-tools \ | ||
skip'F-Sy-H' @z-shell @zsh-users+fast @romkatv \ | ||
array=({git,functions,history,completion,prompt_info_functions,grep,completion,vcs_info}.zsh) | ||
zi-turbo '0a' lucid is-snippet for has'svn' svn multisrc'$array' pick'/dev/null' \ | ||
atinit'HISTFILE=${HOME}/.cache/zi/zsh-history; COMPLETION_WAITING_DOTS=true' \ | ||
OMZ::lib | ||
atinit'HISTFILE=${HOME}/.cache/zi/zsh-history; COMPLETION_WAITING_DOTS=true' OMZ::lib | ||
zi-turbo '0b' lucid is-snippet for \ | ||
atload"unalias grv g" \ | ||
OMZP::git | ||
zi-turbo '0c' lucid light-mode for MichaelAquilina/zsh-you-should-use \ | ||
atinit'ZSH_SYSTEM_CLIPBOARD_TMUX_SUPPORT=true' \ | ||
kutsan/zsh-system-clipboard \ | ||
atinit'AUTOCD=1' \ | ||
zplugin/zsh-exa | ||
atload"unalias grv g" OMZP::git | ||
zi-turbo '0c' lucid light-mode for \ | ||
atinit'AUTOCD=1' zplugin/zsh-exa \ | ||
MichaelAquilina/zsh-you-should-use \ | ||
|
||
[[ ! -f "${HOME}/.p10k.zsh" ]] && p10k configure |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters