sudo apt install zsh-autosuggestions zsh-syntax-highlighting zsh
#!/usr/bin/env bash | |
# Backs up and restores gnome3 keybindings | |
# Tested with Gnome 3.36.8 | |
# by peterrus | |
set -e | |
mkdir -p gnome3-keybind-backup |
using namespace System.Management.Automation | |
using namespace System.Management.Automation.Language | |
if ($host.Name -eq 'ConsoleHost') | |
{ | |
Import-Module PSReadLine | |
} | |
#Import-Module PSColors | |
#Import-Module posh-git | |
Import-Module -Name Terminal-Icons |
# This script basically automates the official Postman installation guide for Linux: | |
# https://learning.postman.com/docs/getting-started/installation-and-updates/#installing-postman-on-linux | |
# 32 or 64-bit? | |
BIT=$(getconf LONG_BIT) | |
# Download the appropriate version | |
wget -O ~/postman.tar.gz "https://dl.pstmn.io/download/latest/linux${BIT}" | |
# Extract the archive in /opt |
[ci skip]
in the commit titledbus-run-session -- gnome-shell --nested --wayland
busctl --user call \ org.gnome.Shell \ /org/gnome/Shell \ org.gnome.Shell.Extensions ReloadExtension \ s "$name"
Add the following in .zshrc: | |
... | |
plugins=(osx git zsh-autosuggestions zsh-syntax-highlighting zsh-nvm docker kubectl) | |
... | |
### Fix slowness of pastes with zsh-syntax-highlighting.zsh | |
pasteinit() { | |
OLD_SELF_INSERT=${${(s.:.)widgets[self-insert]}[2,3]} | |
zle -N self-insert url-quote-magic # I wonder if you'd need `.url-quote-magic`? |