blueray453

Results 50 issues of blueray453

For example the following is a zsh completion function for command `foo`: ``` #compdef _foo foo compadd first second third fourth ``` So, if we type `foo ` in the...

How to replace if the string is on a certain line number? For example, Replace foo with bar only on the 4th line. in sed the command looks like: `sed...

C-question

How to run multiple replace in one go. For example, `sed -i 's/foo/bar/g; s/baz/zab/g; s/Alice/Joan/g' file` How to replace multiple patterns with the same string. For example, Replace any of...

How can I replace `foo` with `bar` only if there is a `baz` later on the same line, For example, in sed the command looks like: sed -i 's/foo\(.*baz\)/bar\1/' file...

I am using `sd 0.7.6`. The directory tree looks like: ``` . ├── choose-test.adoc ├── choose-test (another copy).adoc ├── choose-test (copy).adoc └── Untitled Folder ├── choose-test.adoc ├── choose-test (another copy).adoc...

VSCode [July 2019 (version 1.37) release note](https://code.visualstudio.com/updates/v1_37) says: > Thanks to some upstream work in ripgrep, you can now use these features without enabling a special setting. ripgrep will fall...

M-needs triage

Overview Description: When I double click a video, it start in paused state. I have to double click a video then hit the play button, otherwise it will not play....

My current `.zshrc` has compinit ``` autoload -Uz compinit compinit # zstyle ':completion:*' completer _expand _complete _ignored _correct _approximate # zstyle ':completion:*' matcher-list '' 'm:{[:lower:]}={[:upper:]}' 'm:{[:lower:][:upper:]}={[:upper:][:lower:]}' 'r:|[sdsa]=* r:|=* l:|=*' #...

If I press space as the first character in the prompt, it suggests `\[`. If I comment out `. ~/dotfiles/zsh/zsh-autosuggestions.zsh` this weird behaviour goes away.

bug

**Problem Description:** I am working on a solution to pipe multiple CLI apps to generate a website. In Linux terms, it will look like: Request | CLI_APP --output json |...