mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-22 03:09:22 +01:00
run prettier-plugin-sh
This commit is contained in:
parent
9ddc0d0d42
commit
37208ccdf8
60
.gitattributes
vendored
60
.gitattributes
vendored
@ -1,6 +1,6 @@
|
|||||||
# If file is text, use lf line-endings and let forges show it in repo
|
# If file is text, use lf line-endings and let forges show it in repo
|
||||||
# languages. For more information: `man gitattributes`
|
# languages. For more information: `man gitattributes`
|
||||||
* text=auto eol=lf linguist-detectable
|
* text=auto eol=lf linguist-detectable
|
||||||
|
|
||||||
# Suggestions for inevitably encountering .gitattributeless repositories when
|
# Suggestions for inevitably encountering .gitattributeless repositories when
|
||||||
# .gitattributes cannot be added:
|
# .gitattributes cannot be added:
|
||||||
@ -26,33 +26,33 @@
|
|||||||
# TODO
|
# TODO
|
||||||
# diff=matlab
|
# diff=matlab
|
||||||
# diff=pascal
|
# diff=pascal
|
||||||
*.{adb,ads} diff=ada
|
*.{adb,ads} diff=ada
|
||||||
*.bibtex diff=bibtex
|
*.bibtex diff=bibtex
|
||||||
*.cs diff=csharp
|
*.cs diff=csharp
|
||||||
*.{c,cpp} diff=cpp
|
*.{c,cpp} diff=cpp
|
||||||
*.css diff=css
|
*.css diff=css
|
||||||
*.dts diff=dts
|
*.dts diff=dts
|
||||||
*.{ex,exs} diff=elixir
|
*.{ex,exs} diff=elixir
|
||||||
*.{f90,f,for} diff=fortran
|
*.{f90,f,for} diff=fortran
|
||||||
*.fountain diff=fountain
|
*.fountain diff=fountain
|
||||||
*.go diff=golang
|
*.go diff=golang
|
||||||
*.html diff=html
|
*.html diff=html
|
||||||
*.java diff=java
|
*.java diff=java
|
||||||
*.{kt,kts} diff=kotlin
|
*.{kt,kts} diff=kotlin
|
||||||
*.{h,m,mm,M} diff=objc
|
*.{h,m,mm,M} diff=objc
|
||||||
*.pl diff=perl
|
*.pl diff=perl
|
||||||
*.php diff=php
|
*.php diff=php
|
||||||
*.py diff=python
|
*.py diff=python
|
||||||
*.rb diff=ruby
|
*.rb diff=ruby
|
||||||
*.{rs,rlib} diff=rust
|
*.{rs,rlib} diff=rust
|
||||||
*.{scm,ss} diff=scheme
|
*.{scm,ss} diff=scheme
|
||||||
*.tex diff=tex
|
*.tex diff=tex
|
||||||
|
|
||||||
# bash & co aren't often Windows, so alway have lf line-endings regarldess
|
# bash & co aren't often Windows, so alway have lf line-endings regarldess
|
||||||
# of the above. Markdown is also included as I utilise doctoc, which
|
# of the above. Markdown is also included as I utilise doctoc, which
|
||||||
# requires lf line-endings.
|
# requires lf line-endings.
|
||||||
*.{sh,bash,zsh} diff=bash eol=lf
|
*.{sh,bash,zsh} diff=bash eol=lf
|
||||||
*.{md,markdown,[mM][dD],[mM][aA][rR][kK][dD][oO][wW][nN]} diff=markdown eol=lf
|
*.{md,markdown,[mM][dD],[mM][aA][rR][kK][dD][oO][wW][nN]} diff=markdown eol=lf
|
||||||
|
|
||||||
# While this file is like .gitignore, negative patterns are forbidden and
|
# While this file is like .gitignore, negative patterns are forbidden and
|
||||||
# directory/ wouldn't recurse, thus directory/**. Also !attribute would set
|
# directory/ wouldn't recurse, thus directory/**. Also !attribute would set
|
||||||
@ -65,16 +65,16 @@ Windows/** text=auto eol=crlf
|
|||||||
# The "text" attribute is used as otherwise they rely on auto-detection of
|
# The "text" attribute is used as otherwise they rely on auto-detection of
|
||||||
# textness since there is no diff attribute set.
|
# textness since there is no diff attribute set.
|
||||||
# Ref: https://rehansaeed.com/gitattributes-best-practices/#line-endings
|
# Ref: https://rehansaeed.com/gitattributes-best-practices/#line-endings
|
||||||
*.{reg,[rR][eE][gG]} text eol=crlf
|
*.{reg,[rR][eE][gG]} text eol=crlf
|
||||||
*.{bat,[bB][aA][tT]} text eol=crlf
|
*.{bat,[bB][aA][tT]} text eol=crlf
|
||||||
*.{ahk,[aA][hH][kK]} text eol=crlf
|
*.{ahk,[aA][hH][kK]} text eol=crlf
|
||||||
|
|
||||||
# These files are scary, let's not touch them. The attribute "lockable" is
|
# These files are scary, let's not touch them. The attribute "lockable" is
|
||||||
# provided by git-lfs. https://github.com/git-lfs/git-lfs/wiki/File-Locking
|
# provided by git-lfs. https://github.com/git-lfs/git-lfs/wiki/File-Locking
|
||||||
LICENSE text lockable
|
LICENSE text lockable
|
||||||
CITATION.cff text lockable
|
CITATION.cff text lockable
|
||||||
|
|
||||||
# NOTE! .gitattributes doesn't support the case-insensitive style above!
|
# NOTE! .gitattributes doesn't support the case-insensitive style above!
|
||||||
|
|
||||||
package.json text linguist-vendored
|
package.json text linguist-vendored
|
||||||
pnpm-lock.yaml text linguist-vendored
|
pnpm-lock.yaml text linguist-vendored
|
||||||
|
@ -1 +1 @@
|
|||||||
* @Mikaela
|
* @Mikaela
|
||||||
|
4
Windows/.gitattributes
vendored
4
Windows/.gitattributes
vendored
@ -1,2 +1,2 @@
|
|||||||
* text=auto eol=crlf
|
* text=auto eol=crlf
|
||||||
*.{md,markdown} text eol=lf
|
*.{md,markdown} text eol=lf
|
||||||
|
@ -6,7 +6,7 @@ set -x
|
|||||||
|
|
||||||
# I know there are old versions that used something else, but I don't remember
|
# I know there are old versions that used something else, but I don't remember
|
||||||
# that name and they are ancient.
|
# that name and they are ancient.
|
||||||
if ! hash resolvectl 2>/dev/null; then
|
if ! hash resolvectl 2> /dev/null; then
|
||||||
echo "You don't seem to have systemd-resolved (or resolvectl) installed." 1>&2
|
echo "You don't seem to have systemd-resolved (or resolvectl) installed." 1>&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
@ -52,7 +52,8 @@ inode/directory=org.gnome.Nautilus.desktop;
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
% grep directory /usr/share/applications/mimeinfo.cache
|
% grep directory /usr/share/applications/mimeinfo.cache
|
||||||
inode/directory=codium.desktop;org.gnome.Nautilus.desktop;
|
inode/directory=codium.desktop
|
||||||
|
org.gnome.Nautilus.desktop
|
||||||
```
|
```
|
||||||
|
|
||||||
TODO: I wonder if it needs an `update-desktop-database` or similar though.
|
TODO: I wonder if it needs an `update-desktop-database` or similar though.
|
||||||
|
Loading…
Reference in New Issue
Block a user