Skip to content
Merged
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
23 changes: 23 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = space
indent_size = 2

[*.{md,mdx,rst}]
trim_trailing_whitespace = false

[Makefile*]
indent_style = tab
indent_size = 4

[*.{py,rb}]
indent_size = 4

[*.{go,java}]
indent_style = tab
indent_size = 4
6 changes: 4 additions & 2 deletions .github/workflows/deploy-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,17 @@ on:
permissions:
contents: write

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: false

jobs:
deploy:
if: github.repository == 'z-shell/src'
environment:
name: github-pages
runs-on: ubuntu-latest
timeout-minutes: 15
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- name: ⤵️ Check out code from GitHub
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/win-install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ on:
permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
shellcheck:
runs-on: ubuntu-latest
Expand All @@ -33,9 +37,6 @@ jobs:
runs-on: windows-latest
timeout-minutes: 30
needs: [shellcheck]
concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: false
steps:
- name: 🪟 Set CRLF (Windows)
run: |
Expand Down
2 changes: 2 additions & 0 deletions public/zsh/snippets/color.zsh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# -*- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*-
# vim: ft=zsh sw=2 ts=2 et
# Source: https://github.com/molovo/color
# License: MIT — Copyright (c) 2015 Joe Letchford
# Maintained by z-shell/src — https://github.com/z-shell/src
Expand Down
2 changes: 2 additions & 0 deletions public/zsh/snippets/welcome.zsh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# -*- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*-
# vim: ft=zsh sw=2 ts=2 et
+zi-message "{auto}\`Welcome to Zi :)\`"
sleep 1
+zi-message "{hi}I am the snippet\!"
Expand Down
Loading