From c26f0990829d7859bf45b9bab3248fe007095f71 Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Mon, 14 Oct 2019 15:31:58 +0100 Subject: Add necessary changes for uni comp --- zsh/.zsh/function.zsh | 4 ++-- zsh/.zshrc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'zsh') diff --git a/zsh/.zsh/function.zsh b/zsh/.zsh/function.zsh index fdd6980..b4cc40a 100644 --- a/zsh/.zsh/function.zsh +++ b/zsh/.zsh/function.zsh @@ -24,11 +24,11 @@ fdd() { wal-tile() { wal -n -i "$@" feh --bg-fill "$(< "${HOME}/.cache/wal/wal")" - /home/yannherklotz/.local/bin/betterlock -u "$(< "${HOME}/.cache/wal/wal")" + $HOME/.local/bin/betterlock -u "$(< "${HOME}/.cache/wal/wal")" } wal-tile-l() { wal -l -n -i "$@" feh --bg-fill "$(< "${HOME}/.cache/wal/wal")" - /home/yannherklotz/.local/bin/betterlock -u "$(< "${HOME}/.cache/wal/wal")" + $HOME/.local/bin/betterlock -u "$(< "${HOME}/.cache/wal/wal")" } diff --git a/zsh/.zshrc b/zsh/.zshrc index 9c02e6a..08aef70 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -23,7 +23,7 @@ setopt HIST_IGNORE_DUPS setopt HIST_IGNORE_SPACE setopt HIST_FIND_NO_DUPS -(cat ~/.cache/wal/sequences &) +(cat ~/.cache/wal/sequences &) >/dev/null 2>&1 # Sourcing everything source /usr/share/fzf/key-bindings.zsh -- cgit From 898fcfa1370b60b7f7f6628a1207aac326e8b1be Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Tue, 29 Oct 2019 11:53:13 +0000 Subject: Add cabal to current path --- zsh/.zsh/export.zsh | 1 + 1 file changed, 1 insertion(+) (limited to 'zsh') diff --git a/zsh/.zsh/export.zsh b/zsh/.zsh/export.zsh index 206beb7..0b74f18 100644 --- a/zsh/.zsh/export.zsh +++ b/zsh/.zsh/export.zsh @@ -11,6 +11,7 @@ export PATH="${PATH}:/opt/Xilinx/Vivado/2019.1/bin" export PATH="${PATH}:/opt/intelFPGA_lite/18.1/quartus/bin" export PATH="${HOME}/.local/bin:${PATH}" export PATH="${HOME}/.cargo/bin:${PATH}" +export PATH="${HOME}/.cabal/bin:${PATH}" # Stop dotnet telemetry export DOTNET_CLI_TELEMETRY_OPTOUT=1 -- cgit From 777e5e9e8c83915b15dcf98abd3bda75566337b0 Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Mon, 11 Nov 2019 16:28:58 +0000 Subject: Remove direnv hook and add opam hook --- zsh/.zsh/startup.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'zsh') diff --git a/zsh/.zsh/startup.zsh b/zsh/.zsh/startup.zsh index e8caf69..2002337 100644 --- a/zsh/.zsh/startup.zsh +++ b/zsh/.zsh/startup.zsh @@ -5,6 +5,6 @@ fi # direnv -eval "$(direnv hook zsh)" - # End Nix + +eval $(opam env) -- cgit From 94a10f58e629c87e0a81e7a984264350e7379d3e Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Fri, 24 Jan 2020 13:23:29 +0000 Subject: Changes to keybindings --- zsh/.zshrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'zsh') diff --git a/zsh/.zshrc b/zsh/.zshrc index 08aef70..86b9a54 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -1,3 +1,5 @@ +[[ $TERM == "dumb" ]] && unsetopt zle && PS1=$ && return + # Lines configured by zsh-newuser-install HISTFILE=~/.histfile HISTSIZE=100000 @@ -37,7 +39,7 @@ source $HOME/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh bindkey '^[[A' history-substring-search-up bindkey '^[[B' history-substring-search-down bindkey -M emacs '^P' history-substring-search-up -bindkey -M emacs '^N' history-substring-search-down +bindkey -M emacs ^N history-substring-search-down # opam configuration test -r /home/yannherklotz/.opam/opam-init/init.zsh && . /home/yannherklotz/.opam/opam-init/init.zsh > /dev/null 2> /dev/null || true -- cgit From d0ccc9c4959f1843f56c7a81075e5ea214efb56e Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Mon, 16 Mar 2020 18:21:30 +0000 Subject: Hook into zsh and load direnv --- zsh/.zsh/export.zsh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'zsh') diff --git a/zsh/.zsh/export.zsh b/zsh/.zsh/export.zsh index 0b74f18..ad49a65 100644 --- a/zsh/.zsh/export.zsh +++ b/zsh/.zsh/export.zsh @@ -12,9 +12,12 @@ export PATH="${PATH}:/opt/intelFPGA_lite/18.1/quartus/bin" export PATH="${HOME}/.local/bin:${PATH}" export PATH="${HOME}/.cargo/bin:${PATH}" export PATH="${HOME}/.cabal/bin:${PATH}" +export PATH="${HOME}/.gem/ruby/2.7.0/bin:${PATH}" # Stop dotnet telemetry export DOTNET_CLI_TELEMETRY_OPTOUT=1 # Fix java windows for tiling window managers export _JAVA_AWT_WM_NONREPARENTING=1 + +eval "$(direnv hook zsh)" -- cgit From b8fdb4e308add5ff498468dda4b757becb155570 Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Mon, 16 Mar 2020 18:22:24 +0000 Subject: Source travis CI config --- zsh/.zshrc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'zsh') diff --git a/zsh/.zshrc b/zsh/.zshrc index 86b9a54..f89ad19 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -43,3 +43,6 @@ bindkey -M emacs ^N history-substring-search-down # opam configuration test -r /home/yannherklotz/.opam/opam-init/init.zsh && . /home/yannherklotz/.opam/opam-init/init.zsh > /dev/null 2> /dev/null || true + +# added by travis gem +[ -f /home/ymherklotz/.travis/travis.sh ] && source /home/ymherklotz/.travis/travis.sh -- cgit