diff --git a/Clink.md b/Clink.md new file mode 100644 index 0000000..db3de4d --- /dev/null +++ b/Clink.md @@ -0,0 +1,177 @@ +Clink settings + +# Settings + +``` +# name: Enable automatic suggestions +# type: boolean +autosuggest.enable = True + +# name: Colorize the input text +# type: boolean +clink.colorize_input = True + +# name: Selects default key bindings +# type: enum +# options: bash,windows +clink.default_bindings = windows + +# name: Pressing Ctrl-D exits session +# type: boolean +cmd.ctrld_exits = False + +# name: Argument color +# type: color +color.arg = bold + +# name: Argument info color +# type: color +color.arginfo = yellow + +# name: Argmatcher color +# type: color +color.argmatcher = sgr 1;38;5;40 + +# name: Shell command completions +# type: color +color.cmd = bold + +# name: Color for < and > redirection symbols +# type: color +color.cmdredir = bold + +# name: Color for & and | command separators +# type: color +color.cmdsep = bold + +# name: Color for comment row +# type: color +color.comment_row = bright white on cyan + +# name: Description completion color +# type: color +color.description = bright cyan + +# name: Doskey completions +# type: color +color.doskey = bold cyan + +# name: Color for executable command word +# type: color +# color.executable = sgr 1;38;5;33 +color.executable = bright green + +# name: Filtered completion color +# type: color +color.filtered = bold + +# name: Flag color +# type: color +color.flag = default + +# name: Hidden file completions +# type: color +color.hidden = sgr 38;5;160 + +# name: History expansion color +# type: color +color.histexpand = sgr 97;48;5;55 + +# name: Horizontal scroll marker color +# type: color +color.horizscroll = sgr 38;5;16;48;5;30 + +# name: Input text color +# type: color +# color.input = sgr 38;5;222 +color.input = sgr 1;38;5;231 + +# name: For user-interaction prompts +# type: color +color.interact = bold + +# name: Message area color +# type: color +color.message = default + +# name: Readonly file completions +# type: color +color.readonly = sgr 38;5;28 + +# name: Selected completion color +# type: color +color.selected_completion = sgr 38;5;16;48;5;254 + +# name: Selection color +# type: color +color.selection = sgr 38;5;16;48;5;179 + +# name: Color for suggestion text +# type: color +color.suggestion = bright black + +# name: Unexpected argument color +# type: color +color.unexpected = default + +# name: Color for unrecognized command word +# type: color +# color.unrecognized = sgr 38;5;203 +color.unrecognized = sgr 1;38;5;231 + +# name: The number of history lines to save +# type: integer +history.max_lines = 25000 + +# name: History item timestamps +# type: enum +# options: off,save,show +history.time_stamp = show + +# name: Expand envvars when completing +# type: boolean +match.expand_envvars = True + +# name: Try substring if no prefix matches +# type: boolean +match.substring = True + +# name: Controls when past prompts are collapsed +# type: enum +# options: off,always,same_dir +prompt.transient = off + + + +``` + + +# Flex prompt + +```lua +flexprompt = flexprompt or {} +flexprompt.settings = flexprompt.settings or {} +flexprompt.settings.heads = "pointed" +flexprompt.settings.left_frame = "none" +flexprompt.settings.use_8bit_color = true +flexprompt.settings.flow = "concise" +flexprompt.settings.right_frame = "none" +-- flexprompt.settings.right_prompt = "{time:format=%a %m/%d/%y %I:%M%p}" +flexprompt.settings.left_prompt = "{python}{user:type=computer}{battery}{histlabel}{cwd:type=rootsmart}{git:nostaged:noaheadbehind:showremote:nountracked}" +flexprompt.settings.lines = "two" +flexprompt.settings.spacing = "normal" +flexprompt.settings.connection = "disconnected" +flexprompt.settings.style = "lean" +flexprompt.settings.powerline_font = true +flexprompt.settings.lean_separators = "space" +flexprompt.settings.symbols = +{ + prompt = + { + ">", + winterminal = "❯", + }, +} +flexprompt.settings.charset = "unicode" + +``` \ No newline at end of file