mirror of
https://codeberg.org/hyperreal/dotfiles
synced 2024-11-25 11:53:43 +01:00
Ahhh, POSIX-compliance
This commit is contained in:
parent
48fdc8c36a
commit
d0ca83b4e5
960
.config/bat/themes/Catppuccin.tmTheme
Normal file
960
.config/bat/themes/Catppuccin.tmTheme
Normal file
@ -0,0 +1,960 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
|
<plist version="1.0">
|
||||||
|
<dict>
|
||||||
|
<key>name</key>
|
||||||
|
<string>Catppuccin</string>
|
||||||
|
<key>settings</key>
|
||||||
|
<array>
|
||||||
|
<dict>
|
||||||
|
<key>settings</key>
|
||||||
|
<dict>
|
||||||
|
<key>foreground</key>
|
||||||
|
<string>#d9e0ee</string>
|
||||||
|
<key>background</key>
|
||||||
|
<string>#1e1e2e</string>
|
||||||
|
<key>caret</key>
|
||||||
|
<string>#d9e0ec</string>
|
||||||
|
<key>invisibles</key>
|
||||||
|
<string>#c3bac6</string>
|
||||||
|
<key>gutterForeground</key>
|
||||||
|
<string>#988ba2</string>
|
||||||
|
<key>gutterForegroundHighlight</key>
|
||||||
|
<string>#abe9b3</string>
|
||||||
|
<key>lineHighlight</key>
|
||||||
|
<string>#1e1e2e</string>
|
||||||
|
<key>selection</key>
|
||||||
|
<string>#6e6c7e</string>
|
||||||
|
<key>selectionBorder</key>
|
||||||
|
<string>#1e1e2e</string>
|
||||||
|
<key>activeGuide</key>
|
||||||
|
<string>#f8bd96</string>
|
||||||
|
<key>findHighlightForeground</key>
|
||||||
|
<string>#161320</string>
|
||||||
|
<key>findHighlight</key>
|
||||||
|
<string>#fae3b0</string>
|
||||||
|
<key>bracketsForeground</key>
|
||||||
|
<string>#988ba2</string>
|
||||||
|
<key>bracketContentsForeground</key>
|
||||||
|
<string>#988ba2</string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>name</key>
|
||||||
|
<string>Comment</string>
|
||||||
|
<key>scope</key>
|
||||||
|
<string>comment</string>
|
||||||
|
<key>settings</key>
|
||||||
|
<dict>
|
||||||
|
<key>foreground</key>
|
||||||
|
<string>#6e6c7e</string>
|
||||||
|
<key>fontStyle</key>
|
||||||
|
<string>italic</string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>name</key>
|
||||||
|
<string>String</string>
|
||||||
|
<key>scope</key>
|
||||||
|
<string>string</string>
|
||||||
|
<key>settings</key>
|
||||||
|
<dict>
|
||||||
|
<key>foreground</key>
|
||||||
|
<string>#abe9b3</string>
|
||||||
|
<key>fontStyle</key>
|
||||||
|
<string></string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>name</key>
|
||||||
|
<string>String regex</string>
|
||||||
|
<key>scope</key>
|
||||||
|
<string>string.regexp</string>
|
||||||
|
<key>settings</key>
|
||||||
|
<dict>
|
||||||
|
<key>foreground</key>
|
||||||
|
<string>#f8bd96</string>
|
||||||
|
<key>fontStyle</key>
|
||||||
|
<string></string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>name</key>
|
||||||
|
<string>Number</string>
|
||||||
|
<key>scope</key>
|
||||||
|
<string>constant.numeric</string>
|
||||||
|
<key>settings</key>
|
||||||
|
<dict>
|
||||||
|
<key>foreground</key>
|
||||||
|
<string>#f8bd96</string>
|
||||||
|
<key>fontStyle</key>
|
||||||
|
<string></string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>name</key>
|
||||||
|
<string>Boolean</string>
|
||||||
|
<key>scope</key>
|
||||||
|
<string>constant.language.boolean</string>
|
||||||
|
<key>settings</key>
|
||||||
|
<dict>
|
||||||
|
<key>foreground</key>
|
||||||
|
<string>#f8bd96</string>
|
||||||
|
<key>fontStyle</key>
|
||||||
|
<string>bold italic</string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>name</key>
|
||||||
|
<string>Built-in constant</string>
|
||||||
|
<key>scope</key>
|
||||||
|
<string>constant.language</string>
|
||||||
|
<key>settings</key>
|
||||||
|
<dict>
|
||||||
|
<key>foreground</key>
|
||||||
|
<string>#c9cbff</string>
|
||||||
|
<key>fontStyle</key>
|
||||||
|
<string>italic</string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>name</key>
|
||||||
|
<string>Built-in function</string>
|
||||||
|
<key>scope</key>
|
||||||
|
<string>support.function.builtin</string>
|
||||||
|
<key>settings</key>
|
||||||
|
<dict>
|
||||||
|
<key>foreground</key>
|
||||||
|
<string>#f8bd96</string>
|
||||||
|
<key>fontStyle</key>
|
||||||
|
<string>italic</string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>name</key>
|
||||||
|
<string>User-defined constant</string>
|
||||||
|
<key>scope</key>
|
||||||
|
<string>variable.other.constant</string>
|
||||||
|
<key>settings</key>
|
||||||
|
<dict>
|
||||||
|
<key>foreground</key>
|
||||||
|
<string>#f8bd96</string>
|
||||||
|
<key>fontStyle</key>
|
||||||
|
<string></string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>name</key>
|
||||||
|
<string>Variable</string>
|
||||||
|
<key>scope</key>
|
||||||
|
<string>variable</string>
|
||||||
|
<key>settings</key>
|
||||||
|
<dict>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>name</key>
|
||||||
|
<string>Keyword</string>
|
||||||
|
<key>scope</key>
|
||||||
|
<string>keyword</string>
|
||||||
|
<key>settings</key>
|
||||||
|
<dict>
|
||||||
|
<key>foreground</key>
|
||||||
|
<string>#f28fad</string>
|
||||||
|
<key>fontStyle</key>
|
||||||
|
<string>italic</string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>name</key>
|
||||||
|
<string>Conditional/loop</string>
|
||||||
|
<key>scope</key>
|
||||||
|
<string>keyword.control.loop, keyword.control.conditional, keyword.control.c++</string>
|
||||||
|
<key>settings</key>
|
||||||
|
<dict>
|
||||||
|
<key>foreground</key>
|
||||||
|
<string>#ddb6f2</string>
|
||||||
|
<key>fontStyle</key>
|
||||||
|
<string>bold</string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>name</key>
|
||||||
|
<string>Return</string>
|
||||||
|
<key>scope</key>
|
||||||
|
<string>keyword.control.return, keyword.control.flow.return</string>
|
||||||
|
<key>settings</key>
|
||||||
|
<dict>
|
||||||
|
<key>foreground</key>
|
||||||
|
<string>#f5c2e7</string>
|
||||||
|
<key>fontStyle</key>
|
||||||
|
<string>bold</string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>name</key>
|
||||||
|
<string>Exception</string>
|
||||||
|
<key>scope</key>
|
||||||
|
<string>support.type.exception</string>
|
||||||
|
<key>settings</key>
|
||||||
|
<dict>
|
||||||
|
<key>foreground</key>
|
||||||
|
<string>#f8bd96</string>
|
||||||
|
<key>fontStyle</key>
|
||||||
|
<string>italic</string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>name</key>
|
||||||
|
<string>Operator</string>
|
||||||
|
<key>scope</key>
|
||||||
|
<string>keyword.operator, punctuation.accessor</string>
|
||||||
|
<key>settings</key>
|
||||||
|
<dict>
|
||||||
|
<key>foreground</key>
|
||||||
|
<string>#89dceb</string>
|
||||||
|
<key>fontStyle</key>
|
||||||
|
<string>bold</string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>name</key>
|
||||||
|
<string>Punctuation separator</string>
|
||||||
|
<key>scope</key>
|
||||||
|
<string>punctuation.separator</string>
|
||||||
|
<key>settings</key>
|
||||||
|
<dict>
|
||||||
|
<key>foreground</key>
|
||||||
|
<string>#b5e8e0</string>
|
||||||
|
<key>fontStyle</key>
|
||||||
|
<string></string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>name</key>
|
||||||
|
<string>Punctuation terminator</string>
|
||||||
|
<key>scope</key>
|
||||||
|
<string>punctuation.terminator</string>
|
||||||
|
<key>settings</key>
|
||||||
|
<dict>
|
||||||
|
<key>foreground</key>
|
||||||
|
<string>#b5e8e0</string>
|
||||||
|
<key>fontStyle</key>
|
||||||
|
<string></string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>name</key>
|
||||||
|
<string>Punctuation bracket</string>
|
||||||
|
<key>scope</key>
|
||||||
|
<string>punctuation.section</string>
|
||||||
|
<key>settings</key>
|
||||||
|
<dict>
|
||||||
|
<key>foreground</key>
|
||||||
|
<string>#988ba2</string>
|
||||||
|
<key>fontStyle</key>
|
||||||
|
<string></string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>name</key>
|
||||||
|
<string>Include</string>
|
||||||
|
<key>scope</key>
|
||||||
|
<string>keyword.control.import.include</string>
|
||||||
|
<key>settings</key>
|
||||||
|
<dict>
|
||||||
|
<key>foreground</key>
|
||||||
|
<string>#b5e8e0</string>
|
||||||
|
<key>fontStyle</key>
|
||||||
|
<string>italic</string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>name</key>
|
||||||
|
<string>Storage</string>
|
||||||
|
<key>scope</key>
|
||||||
|
<string>storage</string>
|
||||||
|
<key>settings</key>
|
||||||
|
<dict>
|
||||||
|
<key>foreground</key>
|
||||||
|
<string>#f28fad</string>
|
||||||
|
<key>fontStyle</key>
|
||||||
|
<string></string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>name</key>
|
||||||
|
<string>Storage type</string>
|
||||||
|
<key>scope</key>
|
||||||
|
<string>storage.type</string>
|
||||||
|
<key>settings</key>
|
||||||
|
<dict>
|
||||||
|
<key>foreground</key>
|
||||||
|
<string>#fae3b0</string>
|
||||||
|
<key>fontStyle</key>
|
||||||
|
<string>italic</string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>name</key>
|
||||||
|
<string>Storage modifier</string>
|
||||||
|
<key>scope</key>
|
||||||
|
<string>storage.modifier</string>
|
||||||
|
<key>settings</key>
|
||||||
|
<dict>
|
||||||
|
<key>foreground</key>
|
||||||
|
<string>#f28fad</string>
|
||||||
|
<key>fontStyle</key>
|
||||||
|
<string></string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>name</key>
|
||||||
|
<string>Storage type namespace</string>
|
||||||
|
<key>scope</key>
|
||||||
|
<string>entity.name.namespace, meta.path</string>
|
||||||
|
<key>settings</key>
|
||||||
|
<dict>
|
||||||
|
<key>foreground</key>
|
||||||
|
<string>#f5e0dc</string>
|
||||||
|
<key>fontStyle</key>
|
||||||
|
<string>italic</string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>name</key>
|
||||||
|
<string>Storage type class</string>
|
||||||
|
<key>scope</key>
|
||||||
|
<string>storage.type.class</string>
|
||||||
|
<key>settings</key>
|
||||||
|
<dict>
|
||||||
|
<key>foreground</key>
|
||||||
|
<string>#f5e0dc</string>
|
||||||
|
<key>fontStyle</key>
|
||||||
|
<string>italic</string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>name</key>
|
||||||
|
<string>Label</string>
|
||||||
|
<key>scope</key>
|
||||||
|
<string>entity.name.label</string>
|
||||||
|
<key>settings</key>
|
||||||
|
<dict>
|
||||||
|
<key>foreground</key>
|
||||||
|
<string>#96cdfb</string>
|
||||||
|
<key>fontStyle</key>
|
||||||
|
<string></string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>name</key>
|
||||||
|
<string>Keyword class</string>
|
||||||
|
<key>scope</key>
|
||||||
|
<string>keyword.declaration.class</string>
|
||||||
|
<key>settings</key>
|
||||||
|
<dict>
|
||||||
|
<key>foreground</key>
|
||||||
|
<string>#f28fad</string>
|
||||||
|
<key>fontStyle</key>
|
||||||
|
<string>italic</string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>name</key>
|
||||||
|
<string>Class name</string>
|
||||||
|
<key>scope</key>
|
||||||
|
<string>entity.name.class, meta.toc-list.full-identifier</string>
|
||||||
|
<key>settings</key>
|
||||||
|
<dict>
|
||||||
|
<key>foreground</key>
|
||||||
|
<string>#89dceb</string>
|
||||||
|
<key>fontStyle</key>
|
||||||
|
<string></string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>name</key>
|
||||||
|
<string>Inherited class</string>
|
||||||
|
<key>scope</key>
|
||||||
|
<string>entity.other.inherited-class</string>
|
||||||
|
<key>settings</key>
|
||||||
|
<dict>
|
||||||
|
<key>foreground</key>
|
||||||
|
<string>#89dceb</string>
|
||||||
|
<key>fontStyle</key>
|
||||||
|
<string>italic</string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>name</key>
|
||||||
|
<string>Function name</string>
|
||||||
|
<key>scope</key>
|
||||||
|
<string>entity.name.function, variable.function</string>
|
||||||
|
<key>settings</key>
|
||||||
|
<dict>
|
||||||
|
<key>foreground</key>
|
||||||
|
<string>#96cdfb</string>
|
||||||
|
<key>fontStyle</key>
|
||||||
|
<string>italic</string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>name</key>
|
||||||
|
<string>Function macro</string>
|
||||||
|
<key>scope</key>
|
||||||
|
<string>entity.name.function.preprocessor</string>
|
||||||
|
<key>settings</key>
|
||||||
|
<dict>
|
||||||
|
<key>foreground</key>
|
||||||
|
<string>#f28fad</string>
|
||||||
|
<key>fontStyle</key>
|
||||||
|
<string></string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>name</key>
|
||||||
|
<string>Macro directive - ifdef</string>
|
||||||
|
<key>scope</key>
|
||||||
|
<string>keyword.control.import</string>
|
||||||
|
<key>settings</key>
|
||||||
|
<dict>
|
||||||
|
<key>foreground</key>
|
||||||
|
<string>#f28fad</string>
|
||||||
|
<key>fontStyle</key>
|
||||||
|
<string></string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>name</key>
|
||||||
|
<string>Constructor</string>
|
||||||
|
<key>scope</key>
|
||||||
|
<string>entity.name.function.constructor, entity.name.function.destructor</string>
|
||||||
|
<key>settings</key>
|
||||||
|
<dict>
|
||||||
|
<key>foreground</key>
|
||||||
|
<string>#c9cbff</string>
|
||||||
|
<key>fontStyle</key>
|
||||||
|
<string></string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>name</key>
|
||||||
|
<string>Function argument</string>
|
||||||
|
<key>scope</key>
|
||||||
|
<string>variable.parameter.function</string>
|
||||||
|
<key>settings</key>
|
||||||
|
<dict>
|
||||||
|
<key>foreground</key>
|
||||||
|
<string>#f5e0dc</string>
|
||||||
|
<key>fontStyle</key>
|
||||||
|
<string>italic</string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>name</key>
|
||||||
|
<string>Function declaration</string>
|
||||||
|
<key>scope</key>
|
||||||
|
<string>keyword.declaration.function</string>
|
||||||
|
<key>settings</key>
|
||||||
|
<dict>
|
||||||
|
<key>foreground</key>
|
||||||
|
<string>#e8a2af</string>
|
||||||
|
<key>fontStyle</key>
|
||||||
|
<string>italic</string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>name</key>
|
||||||
|
<string>Library function</string>
|
||||||
|
<key>scope</key>
|
||||||
|
<string>support.function</string>
|
||||||
|
<key>settings</key>
|
||||||
|
<dict>
|
||||||
|
<key>foreground</key>
|
||||||
|
<string>#89dceb</string>
|
||||||
|
<key>fontStyle</key>
|
||||||
|
<string></string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>name</key>
|
||||||
|
<string>Library constant</string>
|
||||||
|
<key>scope</key>
|
||||||
|
<string>support.constant</string>
|
||||||
|
<key>settings</key>
|
||||||
|
<dict>
|
||||||
|
<key>foreground</key>
|
||||||
|
<string>#96cdfb</string>
|
||||||
|
<key>fontStyle</key>
|
||||||
|
<string></string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>name</key>
|
||||||
|
<string>Library class/type</string>
|
||||||
|
<key>scope</key>
|
||||||
|
<string>support.type, support.class</string>
|
||||||
|
<key>settings</key>
|
||||||
|
<dict>
|
||||||
|
<key>foreground</key>
|
||||||
|
<string>#96cdfb</string>
|
||||||
|
<key>fontStyle</key>
|
||||||
|
<string>italic</string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>name</key>
|
||||||
|
<string>Library variable</string>
|
||||||
|
<key>scope</key>
|
||||||
|
<string>support.other.variable</string>
|
||||||
|
<key>settings</key>
|
||||||
|
<dict>
|
||||||
|
<key>fontStyle</key>
|
||||||
|
<string></string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>name</key>
|
||||||
|
<string>Variable function</string>
|
||||||
|
<key>scope</key>
|
||||||
|
<string>variable.function</string>
|
||||||
|
<key>settings</key>
|
||||||
|
<dict>
|
||||||
|
<key>foreground</key>
|
||||||
|
<string>#96cdfb</string>
|
||||||
|
<key>fontStyle</key>
|
||||||
|
<string>italic</string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>name</key>
|
||||||
|
<string>Variable parameter</string>
|
||||||
|
<key>scope</key>
|
||||||
|
<string>variable.parameter</string>
|
||||||
|
<key>settings</key>
|
||||||
|
<dict>
|
||||||
|
<key>foreground</key>
|
||||||
|
<string>#f5e0dc</string>
|
||||||
|
<key>fontStyle</key>
|
||||||
|
<string>italic</string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>name</key>
|
||||||
|
<string>Variable other</string>
|
||||||
|
<key>scope</key>
|
||||||
|
<string>variable.other</string>
|
||||||
|
<key>settings</key>
|
||||||
|
<dict>
|
||||||
|
<key>foreground</key>
|
||||||
|
<string>#d9e0ee</string>
|
||||||
|
<key>fontStyle</key>
|
||||||
|
<string>italic</string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>name</key>
|
||||||
|
<string>Variable field</string>
|
||||||
|
<key>scope</key>
|
||||||
|
<string>variable.other.member</string>
|
||||||
|
<key>settings</key>
|
||||||
|
<dict>
|
||||||
|
<key>foreground</key>
|
||||||
|
<string>#f5e0dc</string>
|
||||||
|
<key>fontStyle</key>
|
||||||
|
<string></string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>name</key>
|
||||||
|
<string>Variable language</string>
|
||||||
|
<key>scope</key>
|
||||||
|
<string>variable.language</string>
|
||||||
|
<key>settings</key>
|
||||||
|
<dict>
|
||||||
|
<key>foreground</key>
|
||||||
|
<string>#b5e8e0</string>
|
||||||
|
<key>fontStyle</key>
|
||||||
|
<string></string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>name</key>
|
||||||
|
<string>Tag name</string>
|
||||||
|
<key>scope</key>
|
||||||
|
<string>entity.name.tag</string>
|
||||||
|
<key>settings</key>
|
||||||
|
<dict>
|
||||||
|
<key>foreground</key>
|
||||||
|
<string>#f8bd96</string>
|
||||||
|
<key>fontStyle</key>
|
||||||
|
<string></string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>name</key>
|
||||||
|
<string>Tag attribute</string>
|
||||||
|
<key>scope</key>
|
||||||
|
<string>entity.other.attribute-name</string>
|
||||||
|
<key>settings</key>
|
||||||
|
<dict>
|
||||||
|
<key>foreground</key>
|
||||||
|
<string>#ddb6f2</string>
|
||||||
|
<key>fontStyle</key>
|
||||||
|
<string>italic</string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>name</key>
|
||||||
|
<string>Tag delimiter</string>
|
||||||
|
<key>scope</key>
|
||||||
|
<string>punctuation.definition.tag</string>
|
||||||
|
<key>settings</key>
|
||||||
|
<dict>
|
||||||
|
<key>foreground</key>
|
||||||
|
<string>#e8a2af</string>
|
||||||
|
<key>fontStyle</key>
|
||||||
|
<string></string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>name</key>
|
||||||
|
<string>Markdown URL</string>
|
||||||
|
<key>scope</key>
|
||||||
|
<string>markup.underline.link.markdown</string>
|
||||||
|
<key>settings</key>
|
||||||
|
<dict>
|
||||||
|
<key>foreground</key>
|
||||||
|
<string>#f5e0dc</string>
|
||||||
|
<key>fontStyle</key>
|
||||||
|
<string>italic underline</string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>name</key>
|
||||||
|
<string>Markdown reference</string>
|
||||||
|
<key>scope</key>
|
||||||
|
<string>meta.link.inline.description</string>
|
||||||
|
<key>settings</key>
|
||||||
|
<dict>
|
||||||
|
<key>foreground</key>
|
||||||
|
<string>#c9cbff</string>
|
||||||
|
<key>fontStyle</key>
|
||||||
|
<string>bold</string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>name</key>
|
||||||
|
<string>Markdown literal</string>
|
||||||
|
<key>scope</key>
|
||||||
|
<string>comment.block.markdown, meta.code-fence, markup.raw.code-fence, markup.raw.inline</string>
|
||||||
|
<key>settings</key>
|
||||||
|
<dict>
|
||||||
|
<key>foreground</key>
|
||||||
|
<string>#b5e8e0</string>
|
||||||
|
<key>fontStyle</key>
|
||||||
|
<string>italic</string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>name</key>
|
||||||
|
<string>Markdown title</string>
|
||||||
|
<key>scope</key>
|
||||||
|
<string>punctuation.definition.heading, entity.name.section</string>
|
||||||
|
<key>settings</key>
|
||||||
|
<dict>
|
||||||
|
<key>foreground</key>
|
||||||
|
<string>#96cdfb</string>
|
||||||
|
<key>fontStyle</key>
|
||||||
|
<string>bold</string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>name</key>
|
||||||
|
<string>Markdown emphasis</string>
|
||||||
|
<key>scope</key>
|
||||||
|
<string>markup.italic</string>
|
||||||
|
<key>settings</key>
|
||||||
|
<dict>
|
||||||
|
<key>foreground</key>
|
||||||
|
<string>#e8a2af</string>
|
||||||
|
<key>fontStyle</key>
|
||||||
|
<string>italic</string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>name</key>
|
||||||
|
<string>Markdown strong</string>
|
||||||
|
<key>scope</key>
|
||||||
|
<string>markup.bold</string>
|
||||||
|
<key>settings</key>
|
||||||
|
<dict>
|
||||||
|
<key>foreground</key>
|
||||||
|
<string>#e8a2af</string>
|
||||||
|
<key>fontStyle</key>
|
||||||
|
<string>bold</string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>name</key>
|
||||||
|
<string>Escape</string>
|
||||||
|
<key>scope</key>
|
||||||
|
<string>constant.character.escape</string>
|
||||||
|
<key>settings</key>
|
||||||
|
<dict>
|
||||||
|
<key>foreground</key>
|
||||||
|
<string>#f5c2e7</string>
|
||||||
|
<key>fontStyle</key>
|
||||||
|
<string></string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>name</key>
|
||||||
|
<string>Bash built-in function</string>
|
||||||
|
<key>scope</key>
|
||||||
|
<string>source.shell.bash meta.function.shell meta.compound.shell meta.function-call.identifier.shell</string>
|
||||||
|
<key>settings</key>
|
||||||
|
<dict>
|
||||||
|
<key>foreground</key>
|
||||||
|
<string>#f5c2e7</string>
|
||||||
|
<key>fontStyle</key>
|
||||||
|
<string></string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>name</key>
|
||||||
|
<string>Bash parameter</string>
|
||||||
|
<key>scope</key>
|
||||||
|
<string>variable.language.shell</string>
|
||||||
|
<key>settings</key>
|
||||||
|
<dict>
|
||||||
|
<key>foreground</key>
|
||||||
|
<string>#f28fad</string>
|
||||||
|
<key>fontStyle</key>
|
||||||
|
<string>italic</string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>name</key>
|
||||||
|
<string>Lua field</string>
|
||||||
|
<key>scope</key>
|
||||||
|
<string>source.lua meta.function.lua meta.block.lua meta.mapping.value.lua meta.mapping.key.lua string.unquoted.key.lua</string>
|
||||||
|
<key>settings</key>
|
||||||
|
<dict>
|
||||||
|
<key>foreground</key>
|
||||||
|
<string>#c9cbff</string>
|
||||||
|
<key>fontStyle</key>
|
||||||
|
<string>italic</string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>name</key>
|
||||||
|
<string>Lua constructor</string>
|
||||||
|
<key>scope</key>
|
||||||
|
<string>source.lua meta.function.lua meta.block.lua meta.mapping.key.lua string.unquoted.key.lua</string>
|
||||||
|
<key>settings</key>
|
||||||
|
<dict>
|
||||||
|
<key>foreground</key>
|
||||||
|
<string>#f2cdcd</string>
|
||||||
|
<key>fontStyle</key>
|
||||||
|
<string></string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>name</key>
|
||||||
|
<string>Java constant</string>
|
||||||
|
<key>scope</key>
|
||||||
|
<string>entity.name.constant.java</string>
|
||||||
|
<key>settings</key>
|
||||||
|
<dict>
|
||||||
|
<key>foreground</key>
|
||||||
|
<string>#b5e8e0</string>
|
||||||
|
<key>fontStyle</key>
|
||||||
|
<string></string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>name</key>
|
||||||
|
<string>CSS property</string>
|
||||||
|
<key>scope</key>
|
||||||
|
<string>support.type.property-name.css</string>
|
||||||
|
<key>settings</key>
|
||||||
|
<dict>
|
||||||
|
<key>foreground</key>
|
||||||
|
<string>#f2cdcd</string>
|
||||||
|
<key>fontStyle</key>
|
||||||
|
<string>italic</string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>name</key>
|
||||||
|
<string>CSS constant</string>
|
||||||
|
<key>scope</key>
|
||||||
|
<string>support.constant.property-value.css</string>
|
||||||
|
<key>settings</key>
|
||||||
|
<dict>
|
||||||
|
<key>foreground</key>
|
||||||
|
<string>#d9e0ee</string>
|
||||||
|
<key>fontStyle</key>
|
||||||
|
<string></string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>name</key>
|
||||||
|
<string>CSS suffix</string>
|
||||||
|
<key>scope</key>
|
||||||
|
<string>constant.numeric.suffix.css, keyword.other.unit.css</string>
|
||||||
|
<key>settings</key>
|
||||||
|
<dict>
|
||||||
|
<key>foreground</key>
|
||||||
|
<string>#b5e8e0</string>
|
||||||
|
<key>fontStyle</key>
|
||||||
|
<string>italic</string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>name</key>
|
||||||
|
<string>CSS variable property</string>
|
||||||
|
<key>scope</key>
|
||||||
|
<string>variable.other.custom-property.name.css, support.type.custom-property.name.css, punctuation.definition.custom-property.css</string>
|
||||||
|
<key>settings</key>
|
||||||
|
<dict>
|
||||||
|
<key>foreground</key>
|
||||||
|
<string>#b5e8e0</string>
|
||||||
|
<key>fontStyle</key>
|
||||||
|
<string></string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>name</key>
|
||||||
|
<string>SCSS tag</string>
|
||||||
|
<key>scope</key>
|
||||||
|
<string>entity.name.tag.css</string>
|
||||||
|
<key>settings</key>
|
||||||
|
<dict>
|
||||||
|
<key>foreground</key>
|
||||||
|
<string>#c9cbff</string>
|
||||||
|
<key>fontStyle</key>
|
||||||
|
<string></string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>name</key>
|
||||||
|
<string>SASS variable</string>
|
||||||
|
<key>scope</key>
|
||||||
|
<string>variable.other.sass</string>
|
||||||
|
<key>settings</key>
|
||||||
|
<dict>
|
||||||
|
<key>foreground</key>
|
||||||
|
<string>#b5e8e0</string>
|
||||||
|
<key>fontStyle</key>
|
||||||
|
<string></string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>name</key>
|
||||||
|
<string>Invalid</string>
|
||||||
|
<key>scope</key>
|
||||||
|
<string>invalid</string>
|
||||||
|
<key>settings</key>
|
||||||
|
<dict>
|
||||||
|
<key>foreground</key>
|
||||||
|
<string>#d9e0ee</string>
|
||||||
|
<key>background</key>
|
||||||
|
<string>#f28fad</string>
|
||||||
|
<key>fontStyle</key>
|
||||||
|
<string></string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>name</key>
|
||||||
|
<string>Invalid deprecated</string>
|
||||||
|
<key>scope</key>
|
||||||
|
<string>invalid.deprecated</string>
|
||||||
|
<key>settings</key>
|
||||||
|
<dict>
|
||||||
|
<key>foreground</key>
|
||||||
|
<string>#d9e0ee</string>
|
||||||
|
<key>background</key>
|
||||||
|
<string>#ddb6f2</string>
|
||||||
|
<key>fontStyle</key>
|
||||||
|
<string></string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>name</key>
|
||||||
|
<string>Diff header</string>
|
||||||
|
<key>scope</key>
|
||||||
|
<string>meta.diff, meta.diff.header</string>
|
||||||
|
<key>settings</key>
|
||||||
|
<dict>
|
||||||
|
<key>foreground</key>
|
||||||
|
<string>#6e6c7e</string>
|
||||||
|
<key>fontStyle</key>
|
||||||
|
<string></string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>name</key>
|
||||||
|
<string>Diff deleted</string>
|
||||||
|
<key>scope</key>
|
||||||
|
<string>markup.deleted</string>
|
||||||
|
<key>settings</key>
|
||||||
|
<dict>
|
||||||
|
<key>foreground</key>
|
||||||
|
<string>#f28fad</string>
|
||||||
|
<key>fontStyle</key>
|
||||||
|
<string></string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>name</key>
|
||||||
|
<string>Diff inserted</string>
|
||||||
|
<key>scope</key>
|
||||||
|
<string>markup.inserted</string>
|
||||||
|
<key>settings</key>
|
||||||
|
<dict>
|
||||||
|
<key>foreground</key>
|
||||||
|
<string>#abe9b3</string>
|
||||||
|
<key>fontStyle</key>
|
||||||
|
<string></string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>name</key>
|
||||||
|
<string>Diff changed</string>
|
||||||
|
<key>scope</key>
|
||||||
|
<string>markup.changed</string>
|
||||||
|
<key>settings</key>
|
||||||
|
<dict>
|
||||||
|
<key>foreground</key>
|
||||||
|
<string>#fae3b0</string>
|
||||||
|
<key>fontStyle</key>
|
||||||
|
<string></string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>name</key>
|
||||||
|
<string>Message error</string>
|
||||||
|
<key>scope</key>
|
||||||
|
<string>message.error</string>
|
||||||
|
<key>settings</key>
|
||||||
|
<dict>
|
||||||
|
<key>foreground</key>
|
||||||
|
<string>#f28fad</string>
|
||||||
|
<key>fontStyle</key>
|
||||||
|
<string></string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
</array>
|
||||||
|
<key>uuid</key>
|
||||||
|
<string>4d0379b5-ef82-467b-b8b8-365889420646</string>
|
||||||
|
<key>colorSpaceName</key>
|
||||||
|
<string>sRGB</string>
|
||||||
|
<key>semanticClass</key>
|
||||||
|
<string>theme.dark.Catppuccin</string>
|
||||||
|
<key>author</key>
|
||||||
|
<string>BrunDerSchwarzmagier</string>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
45
.zshenv
Normal file
45
.zshenv
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
# vim:set ft=zsh ai et sw=4 ts=4:
|
||||||
|
#
|
||||||
|
# ~/.zshenv
|
||||||
|
|
||||||
|
## lscolors
|
||||||
|
export LS_COLORS=$(cat ~/.lscolors.sh)
|
||||||
|
|
||||||
|
## go paths
|
||||||
|
export GOPATH="${HOME}/go"
|
||||||
|
|
||||||
|
## path variable
|
||||||
|
typeset -U PATH path
|
||||||
|
path=(
|
||||||
|
/usr/local/bin
|
||||||
|
/usr/local/sbin
|
||||||
|
"${HOME}/.local/bin"
|
||||||
|
"${HOME}/bin"
|
||||||
|
"${GOPATH}/bin"
|
||||||
|
"${HOME}/.cargo/bin"
|
||||||
|
"${path[@]}"
|
||||||
|
)
|
||||||
|
export PATH
|
||||||
|
|
||||||
|
## reply-to email address
|
||||||
|
export REPLYTO="hyperreal@fedoraproject.org"
|
||||||
|
|
||||||
|
## set language
|
||||||
|
export LANG=en_US.UTF-8
|
||||||
|
|
||||||
|
## set default editor
|
||||||
|
export EDITOR="nvim"
|
||||||
|
|
||||||
|
## manpages
|
||||||
|
export MANPATH="${MANPATH:-/usr/share/man:/usr/local/share/man:/var/home/jas/.fzf/man}"
|
||||||
|
export MANPAGER="less -X"
|
||||||
|
|
||||||
|
## set pager stuffs
|
||||||
|
export PAGER="less -X"
|
||||||
|
export BAT_THEME="Catppuccin"
|
||||||
|
|
||||||
|
## set history stuffs
|
||||||
|
export HISTFILE=~/.zsh_history
|
||||||
|
export HISTSIZE=10000
|
||||||
|
export SAVEHIST=10000
|
||||||
|
|
53
.zshrc
Normal file
53
.zshrc
Normal file
@ -0,0 +1,53 @@
|
|||||||
|
# vim:set ft=zsh ai et sw=4 ts=4:
|
||||||
|
#
|
||||||
|
# ~/.zshrc
|
||||||
|
|
||||||
|
## Plugins
|
||||||
|
if ! test -f ~/.zplug/init.zsh; then
|
||||||
|
export ZPLUG_HOME=~/.zplug
|
||||||
|
git clone https://github.com/zplug/zplug $ZPLUG_HOME
|
||||||
|
fi
|
||||||
|
|
||||||
|
source ~/.zplug/init.zsh
|
||||||
|
|
||||||
|
zplug "~/.zshrc.d", from:local, use:'(*).zsh'
|
||||||
|
zplug "zsh-users/zsh-autosuggestions"
|
||||||
|
zplug "zsh-users/zsh-history-substring-search"
|
||||||
|
zplug "zsh-users/zsh-syntax-highlighting"
|
||||||
|
zplug "amaya382/zsh-fzf-widgets"
|
||||||
|
zplug "chitoku-k/fzf-zsh-completions"
|
||||||
|
zplug "plugins/dnf", from:oh-my-zsh
|
||||||
|
zplug "plugins/colored-man-pages", from:oh-my-zsh
|
||||||
|
zplug "plugins/extract", from:oh-my-zsh
|
||||||
|
zplug "plugins/firewalld", from:oh-my-zsh
|
||||||
|
zplug "plugins/git", from:oh-my-zsh
|
||||||
|
zplug "plugins/sudo", from:oh-my-zsh
|
||||||
|
zplug "plugins/systemd", from:oh-my-zsh
|
||||||
|
zplug "urbainvaes/fzf-marks"
|
||||||
|
|
||||||
|
if ! zplug check; then
|
||||||
|
zplug install;
|
||||||
|
exec $SHELL $SHELL_ARGS "$@"
|
||||||
|
fi
|
||||||
|
|
||||||
|
zplug load
|
||||||
|
|
||||||
|
## General shell options
|
||||||
|
# See https://zsh-manual.netlify.app/options
|
||||||
|
setopt appendhistory
|
||||||
|
setopt autocd
|
||||||
|
setopt autolist
|
||||||
|
setopt automenu
|
||||||
|
setopt autoremoveslash
|
||||||
|
setopt cdablevars
|
||||||
|
setopt histallowclobber
|
||||||
|
setopt histignorealldups
|
||||||
|
setopt histignoredups
|
||||||
|
setopt histsavenodups
|
||||||
|
setopt interactivecomments
|
||||||
|
setopt listpacked
|
||||||
|
setopt listtypes
|
||||||
|
setopt longlistjobs
|
||||||
|
|
||||||
|
## Prompt
|
||||||
|
eval "$(starship init zsh)"
|
68
.zshrc.d/aliases.zsh
Normal file
68
.zshrc.d/aliases.zsh
Normal file
@ -0,0 +1,68 @@
|
|||||||
|
# vim:set ft=zsh ai et sw=4 ts=4:
|
||||||
|
#
|
||||||
|
# ~/.zsh/aliases.zsh
|
||||||
|
|
||||||
|
## the ls family
|
||||||
|
if test -x "$(command -v exa)"; then
|
||||||
|
alias ls="exa"
|
||||||
|
fi
|
||||||
|
alias l="exa -lFhg"
|
||||||
|
alias la="exa -a"
|
||||||
|
alias ll="exa -lg --git"
|
||||||
|
alias lal="exa -alg --git"
|
||||||
|
alias ldot="exa -gld .*"
|
||||||
|
alias lse="/bin/ls -lZ"
|
||||||
|
|
||||||
|
lgn() { exa --tree --level=$1 ; }
|
||||||
|
|
||||||
|
## greps
|
||||||
|
alias grep="grep --color"
|
||||||
|
alias sgrep="grep -R -n -H -C 5 --exclude-dir={.git,.svn,CVS}"
|
||||||
|
|
||||||
|
## copy SSH pubkey to clipboard
|
||||||
|
alias pubkey="more ~/.ssh/id_ed25519.pub | xclip -selection clipboard | echo '==> SSH public key copied'"
|
||||||
|
|
||||||
|
## display disk usage with dust
|
||||||
|
alias dud="dust --depth 1 -w 88"
|
||||||
|
|
||||||
|
## prompt user before overwriting copied and moved files
|
||||||
|
alias cp="cp -i"
|
||||||
|
alias mv="mv -i"
|
||||||
|
alias rm="rm -i"
|
||||||
|
|
||||||
|
## display zsh functions with bat
|
||||||
|
alias zfun="functions | bat -l zsh"
|
||||||
|
|
||||||
|
## luamake
|
||||||
|
alias luamake="/home/jas/.local/share/sumneko/lua-language-server/3rd/luamake/luamake"
|
||||||
|
|
||||||
|
## assorted globals
|
||||||
|
alias -g H="| head"
|
||||||
|
alias -g T="| tail"
|
||||||
|
alias -g G="| grep"
|
||||||
|
alias -g L="| less -X"
|
||||||
|
alias -g B="| bat"
|
||||||
|
alias -g LL="2>&1 | less"
|
||||||
|
alias -g CA="2>&1 | cat -A"
|
||||||
|
alias -g NE="2> /dev/null"
|
||||||
|
alias -g NUL="> /dev/null 2>&1"
|
||||||
|
alias -g P="2>&1| pygmentize -l pytb"
|
||||||
|
alias -g J="| jq ."
|
||||||
|
alias -g CC="| xclip -selection clipboard"
|
||||||
|
|
||||||
|
## networking
|
||||||
|
alias pubip="curl ipinfo.io"
|
||||||
|
alias netCons="lsof -i"
|
||||||
|
alias tulp="ss -tulp"
|
||||||
|
alias openPorts="sudo lsof -i | grep LISTEN"
|
||||||
|
alias pong="ping -c 3 www.google.com"
|
||||||
|
alias lsock="sudo lsof -i -P"
|
||||||
|
alias lsockU="sudo lsof -nP | grep UDP"
|
||||||
|
alias lsockT="sudo lsof -nP | grep TCP"
|
||||||
|
|
||||||
|
## logs directory
|
||||||
|
alias lslog="ls /var/log/"
|
||||||
|
|
||||||
|
## reboot/poweroff
|
||||||
|
alias rbt="sudo systemctl reboot"
|
||||||
|
alias shut="sudo systemctl poweroff"
|
74
.zshrc.d/catppuccin-zsh-syntax-highlighting.zsh
Normal file
74
.zshrc.d/catppuccin-zsh-syntax-highlighting.zsh
Normal file
@ -0,0 +1,74 @@
|
|||||||
|
# Catppuccin Theme (for zsh-syntax-highlighting)
|
||||||
|
#
|
||||||
|
# Paste this files contents inside your ~/.zshrc before you activate zsh-syntax-highlighting
|
||||||
|
ZSH_HIGHLIGHT_HIGHLIGHTERS=(main cursor)
|
||||||
|
typeset -gA ZSH_HIGHLIGHT_STYLES
|
||||||
|
|
||||||
|
# Main highlighter styling: https://github.com/zsh-users/zsh-syntax-highlighting/blob/master/docs/highlighters/main.md
|
||||||
|
#
|
||||||
|
## General
|
||||||
|
### Diffs
|
||||||
|
### Markup
|
||||||
|
## Classes
|
||||||
|
## Comments
|
||||||
|
ZSH_HIGHLIGHT_STYLES[comment]='fg=#585b70'
|
||||||
|
## Constants
|
||||||
|
## Entitites
|
||||||
|
## Functions/methods
|
||||||
|
ZSH_HIGHLIGHT_STYLES[alias]='fg=#cba6f7'
|
||||||
|
ZSH_HIGHLIGHT_STYLES[suffix-alias]='fg=#cba6f7'
|
||||||
|
ZSH_HIGHLIGHT_STYLES[global-alias]='fg=#cba6f7'
|
||||||
|
ZSH_HIGHLIGHT_STYLES[function]='fg=#cba6f7'
|
||||||
|
ZSH_HIGHLIGHT_STYLES[command]='fg=#cba6f7'
|
||||||
|
ZSH_HIGHLIGHT_STYLES[precommand]='fg=#cba6f7,italic'
|
||||||
|
ZSH_HIGHLIGHT_STYLES[autodirectory]='fg=#fab387,italic'
|
||||||
|
ZSH_HIGHLIGHT_STYLES[single-hyphen-option]='fg=#fab387'
|
||||||
|
ZSH_HIGHLIGHT_STYLES[double-hyphen-option]='fg=#fab387'
|
||||||
|
ZSH_HIGHLIGHT_STYLES[back-quoted-argument]='fg=#cba6f7'
|
||||||
|
## Keywords
|
||||||
|
## Built ins
|
||||||
|
ZSH_HIGHLIGHT_STYLES[builtin]='fg=#94e2d5'
|
||||||
|
ZSH_HIGHLIGHT_STYLES[reserved-word]='fg=#94e2d5'
|
||||||
|
ZSH_HIGHLIGHT_STYLES[hashed-command]='fg=#94e2d5'
|
||||||
|
## Punctuation
|
||||||
|
ZSH_HIGHLIGHT_STYLES[commandseparator]='fg=#f38ba8'
|
||||||
|
ZSH_HIGHLIGHT_STYLES[command-substitution-delimiter]='fg=#cdd6f4'
|
||||||
|
ZSH_HIGHLIGHT_STYLES[command-substitution-delimiter-unquoted]='fg=#cdd6f4'
|
||||||
|
ZSH_HIGHLIGHT_STYLES[process-substitution-delimiter]='fg=#cdd6f4'
|
||||||
|
ZSH_HIGHLIGHT_STYLES[back-quoted-argument-delimiter]='fg=#f38ba8'
|
||||||
|
ZSH_HIGHLIGHT_STYLES[back-double-quoted-argument]='fg=#f38ba8'
|
||||||
|
ZSH_HIGHLIGHT_STYLES[back-dollar-quoted-argument]='fg=#f38ba8'
|
||||||
|
## Serializable / Configuration Languages
|
||||||
|
## Storage
|
||||||
|
## Strings
|
||||||
|
ZSH_HIGHLIGHT_STYLES[command-substitution-quoted]='fg=#f9e2af'
|
||||||
|
ZSH_HIGHLIGHT_STYLES[command-substitution-delimiter-quoted]='fg=#f9e2af'
|
||||||
|
ZSH_HIGHLIGHT_STYLES[single-quoted-argument]='fg=#f9e2af'
|
||||||
|
ZSH_HIGHLIGHT_STYLES[single-quoted-argument-unclosed]='fg=#e64553'
|
||||||
|
ZSH_HIGHLIGHT_STYLES[double-quoted-argument]='fg=#f9e2af'
|
||||||
|
ZSH_HIGHLIGHT_STYLES[double-quoted-argument-unclosed]='fg=#e64553'
|
||||||
|
ZSH_HIGHLIGHT_STYLES[rc-quote]='fg=#f9e2af'
|
||||||
|
## Variables
|
||||||
|
ZSH_HIGHLIGHT_STYLES[dollar-quoted-argument]='fg=#cdd6f4'
|
||||||
|
ZSH_HIGHLIGHT_STYLES[dollar-quoted-argument-unclosed]='fg=#e64553'
|
||||||
|
ZSH_HIGHLIGHT_STYLES[dollar-double-quoted-argument]='fg=#cdd6f4'
|
||||||
|
ZSH_HIGHLIGHT_STYLES[assign]='fg=#cdd6f4'
|
||||||
|
ZSH_HIGHLIGHT_STYLES[named-fd]='fg=#cdd6f4'
|
||||||
|
ZSH_HIGHLIGHT_STYLES[numeric-fd]='fg=#cdd6f4'
|
||||||
|
## No category relevant in spec
|
||||||
|
ZSH_HIGHLIGHT_STYLES[unknown-token]='fg=#e64553'
|
||||||
|
ZSH_HIGHLIGHT_STYLES[path]='fg=#cdd6f4'
|
||||||
|
ZSH_HIGHLIGHT_STYLES[path_pathseparator]='fg=#f38ba8'
|
||||||
|
ZSH_HIGHLIGHT_STYLES[path_prefix]='fg=#cdd6f4'
|
||||||
|
ZSH_HIGHLIGHT_STYLES[path_prefix_pathseparator]='fg=#f38ba8'
|
||||||
|
ZSH_HIGHLIGHT_STYLES[globbing]='fg=#cdd6f4'
|
||||||
|
ZSH_HIGHLIGHT_STYLES[history-expansion]='fg=#cba6f7'
|
||||||
|
#ZSH_HIGHLIGHT_STYLES[command-substitution]='fg=?'
|
||||||
|
#ZSH_HIGHLIGHT_STYLES[command-substitution-unquoted]='fg=?'
|
||||||
|
#ZSH_HIGHLIGHT_STYLES[process-substitution]='fg=?'
|
||||||
|
#ZSH_HIGHLIGHT_STYLES[arithmetic-expansion]='fg=?'
|
||||||
|
ZSH_HIGHLIGHT_STYLES[back-quoted-argument-unclosed]='fg=#e64553'
|
||||||
|
ZSH_HIGHLIGHT_STYLES[redirection]='fg=#cdd6f4'
|
||||||
|
ZSH_HIGHLIGHT_STYLES[arg0]='fg=#cdd6f4'
|
||||||
|
ZSH_HIGHLIGHT_STYLES[default]='fg=#cdd6f4'
|
||||||
|
ZSH_HIGHLIGHT_STYLES[cursor]='fg=#cdd6f4'
|
43
.zshrc.d/functions.zsh
Normal file
43
.zshrc.d/functions.zsh
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
# vim:set ft=zsh ai et sw=4 ts=4:
|
||||||
|
#
|
||||||
|
# ~/.zsh/functions.zsh
|
||||||
|
|
||||||
|
## Do an ls after cd
|
||||||
|
cd() { builtin cd "$@" && ls; }
|
||||||
|
|
||||||
|
## Create new directory and enter it
|
||||||
|
mkd() { mkdir -p "$@" && cd "$_"; }
|
||||||
|
|
||||||
|
## pids
|
||||||
|
pids() { pgrep -a "$@"; }
|
||||||
|
|
||||||
|
## variation of our manzsh() function; pick you poison:
|
||||||
|
manzsh() { /usr/bin/man zshall | most +/"$1" ; }
|
||||||
|
|
||||||
|
## restart zsh
|
||||||
|
restart () {
|
||||||
|
exec $SHELL $SHELL_ARGS "$@"
|
||||||
|
}
|
||||||
|
|
||||||
|
rsrc() { cd && clear && restart; }
|
||||||
|
|
||||||
|
## parse HackerNews feed (https://hnrss.org/newest)
|
||||||
|
hn() {
|
||||||
|
python3 <(cat <<EOF
|
||||||
|
|
||||||
|
import feedparser
|
||||||
|
HNFeed = feedparser.parse("https://hnrss.org/newest")
|
||||||
|
|
||||||
|
class bcolors:
|
||||||
|
HEADER = '\033[95m'
|
||||||
|
ENDC = '\033[0m'
|
||||||
|
|
||||||
|
for item in HNFeed.entries:
|
||||||
|
print(f"{bcolors.HEADER}%s{bcolors.ENDC}" % item.title)
|
||||||
|
print(item.links[0].href)
|
||||||
|
print("")
|
||||||
|
|
||||||
|
EOF
|
||||||
|
) | bat -p
|
||||||
|
}
|
||||||
|
|
15
.zshrc.d/fzf.zsh
Normal file
15
.zshrc.d/fzf.zsh
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
# vim:set ft=zsh ai et sw=4 ts=4:
|
||||||
|
#
|
||||||
|
# ~/.zsh/fzf.zsh
|
||||||
|
|
||||||
|
## default opts uses Catppuccin (mocha) color palette
|
||||||
|
export FZF_DEFAULT_OPTS='--color=bg+:#302D41,bg:#1E1E2E,spinner:#F8BD96,hl:#F28FAD --color=fg:#D9E0EE,header:#F28FAD,info:#DDB6F2,pointer:#F8BD96 --color=marker:#F8BD96,fg+:#F2CDCD,prompt:#DDB6F2,hl+:#F28FAD'
|
||||||
|
|
||||||
|
## completion trigger
|
||||||
|
export FZF_COMPLETION_TRIGGER="~~"
|
||||||
|
|
||||||
|
## default source for fzf
|
||||||
|
export FZF_DEFAULT_COMMAND="fd --type f --hidden --follow --exclude .git"
|
||||||
|
|
||||||
|
## keybinding for fzf-marks
|
||||||
|
bindkey '\eg' fzm
|
18
.zshrc.d/input.zsh
Normal file
18
.zshrc.d/input.zsh
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
# vim:set ft=zsh ai et sw=4 ts=4:
|
||||||
|
#
|
||||||
|
# ~/.zsh/input.zsh
|
||||||
|
|
||||||
|
$include /etc/inputrc
|
||||||
|
bindkey -v
|
||||||
|
|
||||||
|
typeset -g -A key
|
||||||
|
key[Home]="${terminfo[khome]}"
|
||||||
|
key[End]="${terminfo[kend]}"
|
||||||
|
|
||||||
|
[[ -n "${key[Home]}" ]] && bindkey -- "${key[Home]}" beginning-of-line
|
||||||
|
[[ -n "${key[End]}" ]] && bindkey -- "${key[End]}" end-of-line
|
||||||
|
|
||||||
|
## history substring search
|
||||||
|
bindkey '^[[1;5A' history-substring-search-up
|
||||||
|
bindkey '^[[1;5B' history-substring-search-down
|
||||||
|
|
Loading…
Reference in New Issue
Block a user