Skip to content

Instantly share code, notes, and snippets.

shell: zsh
# Prompt settings.
prompt:
disable: true
add_newline = false
format = """
$shell\
$username\
$hostname\
$shlvl\
$directory\
$docker_context\
$package\
[/]
auto-hide-mouse=true
control-click-titlebar=true
control-scroll-zoom=true
copy-on-select=true
prompt-on-close=false
prompt-on-close-process=false
quake-specific-monitor=0
terminal-title-style='small'
theme-variant='dark'
#!/bin/bash
export RELEASE=$(lsb_release -is || echo "Fedora")
export ZSH_CUSTOM=$HOME/.oh-my-zsh/custom
export FONT_PATH="/usr/share/fonts/NerdFonts"
if [ $RELEASE = "Fedora" ];then
# intall needed packages
sudo dnf -y install zsh httpie fontawesome-fonts curl git fzf
elif [ $RELEASE = "Ubuntu" ];then
# git clone https://github.com/romkatv/powerlevel10k.git
# Path to your oh-my-zsh configuration.
ZSH=$HOME/.oh-my-zsh
#autoload -U promptinit && promptinit
autoload -Uz compinit && compinit
# For Solarized
export TERM="xterm-256color"
export PATH=$HOME/bin:$PATH