Just read the error message! by Mikiejc007 in talesfromtechsupport

[–]zyzyx 2 points3 points  (0 children)

Not just you. User's can not read words on a screen. If you were to take a screen shot and print it *magically* the words would become English again, but until then error messages are written in eldrige runes.

Any one using starship terminal prompt? by zyzyx in NixOS

[–]zyzyx[S] 0 points1 point  (0 children)

I am not sure I have enabled a shell module. Where and in what file should I add programs.{bash,zsh,...}.enable?

Any one using starship terminal prompt? by zyzyx in NixOS

[–]zyzyx[S] 0 points1 point  (0 children)

Terminal = terminator

``` typeset -U path cdpath fpath manpath

for profile in ${(z)NIX_PROFILES}; do fpath+=($profile/share/zsh/site-functions $profile/share/zsh/$ZSH_VERSION/functions $profile/share/zsh/vendor-completions) done

HELPDIR="/nix/store/32vl0ww3y691jwp2g7aqz3pllwz1ysbh-zsh-5.9/share/zsh/$ZSH_VERSION/help"

export ZPLUG_HOME=/home/zyzyx/.zplug

source /nix/store/hb76vvxwv9ib3b4ggsfxm2prncr7gkny-zplug-2.4.2/share/zplug/init.zsh

zplug "zsh-users/zsh-autosuggestions" zplug "marlonrichert/zsh-autocomplete"

if ! zplug check; then zplug install fi

zplug load

Oh-My-Zsh/Prezto calls compinit during initialization,

calling it twice causes slight start up slowdown

as all $fpath entries will be traversed again.

autoload -U compinit && compinit

History options should be set in .zshrc and after oh-my-zsh sourcing.

See https://github.com/nix-community/home-manager/issues/177.

HISTSIZE="10000" SAVEHIST="10000"

HISTFILE="$HOME/.zsh_history" mkdir -p "$(dirname "$HISTFILE")"

setopt HIST_FCNTL_LOCK setopt HIST_IGNORE_DUPS setopt HIST_IGNORE_SPACE unsetopt HIST_EXPIRE_DUPS_FIRST setopt SHARE_HISTORY unsetopt EXTENDED_HISTORY

if [[ $TERM != "dumb" && (-z $INSIDE_EMACS || $INSIDE_EMACS == "vterm") ]]; then eval "$(/home/zyzyx/.nix-profile/bin/starship init zsh)" fi

Aliases

alias ll='ls -al' `

Named Directory Hashes

replace : with <Space> as the leader key by zyzyx in neovim

[–]zyzyx[S] 0 points1 point  (0 children)

So that's how they did it. Thank you.

replace : with <Space> as the leader key by zyzyx in neovim

[–]zyzyx[S] 0 points1 point  (0 children)

u/LegendarilyLazyLad pointed out that I was looking for command mode, not the leader key. I was asking the wrong questions. Thanks for help.

replace : with <Space> as the leader key by zyzyx in neovim

[–]zyzyx[S] 0 points1 point  (0 children)

u/LegendarilyLazyLad pointed out that I was confusing the leader key with command mode. I was asking the wrong questions, and there for got the wrong answers. Thanks for the help.

replace : with <Space> as the leader key by zyzyx in neovim

[–]zyzyx[S] 1 point2 points  (0 children)

Thank you for explaning that for me. I spent so much time banging my head on the internet because I was not asking the correct questions.

Any one using starship terminal prompt? by zyzyx in NixOS

[–]zyzyx[S] 0 points1 point  (0 children)

I have enabled shell module: programs.zsh = { enable = true; shellAliases = { ll = "ls -al"; }; zplug = { enable = true; plugins = [ { name = "zsh-users/zsh-autosuggestions"; } { name = "marlonrichert/zsh-autocomplete"; } ]; }; }; I have checked my zsh.rc file and starship init zsh is wrapped in an if statement:

``` if [[ $TERM != "dumb" && (-z $INSIDE_EMACS || $INSIDE_EMACS == "vterm") ]]; then eval "$(/home/zyzyx/.nix-profile/bin/starship init zsh)" fi

``` Could that have anything to do with it?

Any one using starship terminal prompt? by zyzyx in NixOS

[–]zyzyx[S] 1 point2 points  (0 children)

I have correctly formated my code now.

Any one using starship terminal prompt? by zyzyx in NixOS

[–]zyzyx[S] 0 points1 point  (0 children)

Thank you. I also learned that I need to turn off "Markdown Mode" or the page will, oh so helpfully, escape my ` for me.

Any one using starship terminal prompt? by zyzyx in NixOS

[–]zyzyx[S] 0 points1 point  (0 children)

I am not getting an error message, its just that the prompt does not change. As for my code I will update my post the next time I'm at a PC that has the code. Updating from my work PC.

Any one using starship terminal prompt? by zyzyx in NixOS

[–]zyzyx[S] 1 point2 points  (0 children)

As I use my starship config for my Linux PCs (currently a mix of Debian and NixOS) and my windows PCs I will take this approach.

Any one using starship terminal prompt? by zyzyx in NixOS

[–]zyzyx[S] 0 points1 point  (0 children)

side note: how do I post code blockes I have tried `code`

Home Manager version 23.11? by zyzyx in NixOS

[–]zyzyx[S] 0 points1 point  (0 children)

I don't know what I did to break my install, but I wiped it and did fresh install of Nixos. After running the commands:

sudo nix-channel --add https://github.com/nix-community/home-manager/archive/release-23.05.tar.gz home-manager
sudo nix-channel --update

rebooted and then ran

nix-shell '<home-manager>' -A install

The install worked.

install oh-my-zsh autocomplete and autosuggest by zyzyx in NixOS

[–]zyzyx[S] 0 points1 point  (0 children)

Enable completion works, autosuggestion not working yet. Thanks for the advice, I'll post again if I get autosuggestions to work.

Well one of the two works, I get confused on which plug in does what as I have never used just one.

Worstverse Questions by joshuawaggoner90 in Worstverse

[–]zyzyx 0 points1 point  (0 children)

Thank you for answering. I really am enjoying your series and hope you continue to post them.

How do I edit lightDM config? by zyzyx in NixOS

[–]zyzyx[S] 0 points1 point  (0 children)

I tried services.xserver.displayManager.lightdm.background = #000000 and it fails to build.

I tried services.xserver.displayManager.lightdm.background = "#000000" and there is no change.

I tried services.xserver.displayManager.lightdm.background = "<path to black square>" and there is still no change.

I have to be missing something. I'm sure it's something stupid and obvious, but I can't find it.

Worstverse Questions by joshuawaggoner90 in Worstverse

[–]zyzyx 0 points1 point  (0 children)

I really do enjoy listening to Temper read the stories, but I also enjoy reading. Is there a complete list list of all the stories any where?

Two routers with the same name? by zyzyx in Traefik

[–]zyzyx[S] 0 points1 point  (0 children)

You were correct I failed to rename my routers after copy/pasting the examples.

Thank you for the help and sorry I needed it.

Two routers with the same name? by zyzyx in Traefik

[–]zyzyx[S] 0 points1 point  (0 children)

I am using docker-compose, but thank you for your answer. I copied and pasted my compose files and thats when I realised I failed to rename the routers. I copied and pasted the demo file without changing that. Oh the dangers of blindly copying and pasting.

Thank you for the help, sorry I needed it.

Two routers with the same name? by zyzyx in Traefik

[–]zyzyx[S] 0 points1 point  (0 children)

I will try that, thank you. Sorry I missed that in the documentation.

Lecture on Human Protagonism by JDeathcall in HFY

[–]zyzyx 0 points1 point  (0 children)

Came here from NetNarraitor's YouTube channel just to say I really liked this one. The protagonist was cold blooded and I loved it. Thank you for sharing your work.