Skip to content

Instantly share code, notes, and snippets.

@AlanD20
Last active February 26, 2024 04:34
Show Gist options
  • Save AlanD20/5f031af4c3c3d250534d015cd24fb506 to your computer and use it in GitHub Desktop.
Save AlanD20/5f031af4c3c3d250534d015cd24fb506 to your computer and use it in GitHub Desktop.
Fresh Ubuntu Configs & Customizations

Ubuntu Customization

GNOME Extensions

  • Install the following packages:
sudo apt install gnome-tweaks gnome-shell-extensions
sudo apt-get install chrome-gnome-shell # Only Chromium Browsers

GNOME Extensions:

Flameshot Screen Capture

  • Download Flameshot Screen Capture
  • To set shortcut, go to settings > keyboard > view and customize shortcut > at the bottom select custom shortcut > Add new shortcut and fill the name, set the command to flameshot gui

Ulauncher

Extensions:

  • Requires the following Python packages:
pip3 install fuzzywuzzy faker requests pint simpleeval parsedatetime
  • Put The Configuration Files at ~/.config/ulauncher/
  • Remove the ulauncher_ prefix from the files.
  • To set shortcut, set it in the application settings, then go to settings > keyboard > view and customize shortcut > at the bottom select custom shortcut > Add new shortcut and fill the name, set the command to ulauncher-toggle

Install zsh & Oh-my-zsh & powerlevel10k

# 1. Install zsh
sudo apt install zsh

# 2. Install oh-my-zsh
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

# 3. Install powerlevel10k for oh-my-zsh
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
[/]
apps-show-extra-details=false
arcmenu-extra-categories-links=[(0, false), (4, false), (2, false), (1, true), (3, true)]
arcmenu-extra-categories-links-location='Top'
button-item-icon-size='Default'
category-icon-type='Full_Color'
dash-to-panel-standalone=true
default-menu-view='Pinned_Apps'
disable-user-avatar=false
enable-horizontal-flip=false
enable-standlone-runner-menu=false
force-menu-location='Off'
hotkey-open-primary-monitor=true
left-panel-width=250
menu-arrow-rise=(false, 6)
menu-background-color='rgba(28,28,28,0.98)'
menu-border-color='rgb(63,62,64)'
menu-button-appearance='Icon'
menu-foreground-color='rgb(211,218,227)'
menu-hotkey='Super_L'
menu-item-active-bg-color='rgba(228,228,226,0.15)'
menu-item-active-fg-color='rgb(255,255,255)'
menu-item-hover-bg-color='rgba(238,238,236,0.08)'
menu-item-hover-fg-color='rgb(255,255,255)'
menu-layout='Default'
menu-separator-color='rgb(63,62,64)'
misc-item-icon-size='Default'
multi-monitor=true
override-menu-theme=true
pinned-app-list=['Visual Studio Code', '', 'code_code.desktop', 'Google Chrome', '', 'google-chrome.desktop', 'Postman', '', 'postman_postman.desktop', 'Terminal', '', 'org.gnome.Terminal.desktop', 'Files', '', 'org.gnome.Nautilus.desktop', 'ArcMenu Settings', '/home/www/.local/share/gnome-shell/extensions/[email protected]/media/icons/menu_icons/arc-menu-symbolic.svg', 'gnome-extensions prefs [email protected]']
prefs-visible-page=0
searchbar-default-bottom-location='Bottom'
shortcut-icon-type='Full_Color'
show-activities-button=false
show-bookmarks=false
show-external-devices=true
vert-separator=true
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
# If not running interactively, don"t do anything
case $- in
*i*) ;;
*) return;;
esac
#######################___Default_CHECKS___#########################
export PATH=$HOME/bin:$PATH
HISTCONTROL=ignoreboth
# append to the history file, don"t overwrite it
shopt -s histappend
# for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
HISTSIZE=1000
HISTFILESIZE=2000
# check if the user isn't root
if [ "$UID" != 0 ]; then
# case-insensitive globbing (used in pathname expansion)
shopt -s nocaseglob
# autocorrect typos in path names when using `cd`
shopt -s cdspell
fi
# Do not autocomplete when accidentally pressing Tab on an empty line. (It takes
# forever and yields "Display all 15 gazillion possibilites?")
shopt -s no_empty_cmd_completion;
# Check the window size after each command and, if necessary,
# update the values of lines and columns.
shopt -s checkwinsize
# Number of trailing directory components to retain when expanding the
# \w and \W prompt string escapes. Characters removed are replaced
# with an ellipsis.
PROMPT_DIRTRIM=7
# the search path for the cd command
CDPATH=.:$HOME
#######################___END_Default_CHECKS___#####################
#######################___tput_Variables___#########################
user=$(tput setaf 34);
at=$(tput setaf 227);
txt=$(tput setaf 255);
yellow=$(tput setaf 220);
lpath=$(tput setaf 214);
arrow=$(tput setaf 160);
main=$(tput setaf 198);
cmdtext=$(tput setaf 82)
dir=$(tput setaf 27);
lines=$(tput setaf 38);
arr_com=$(tput setaf 118);
black=$(tput setaf 233);
reset=$(tput sgr0);
#######################___END_tput_Variables___#####################
PS1="${txt}Current Path: \[${lpath}\]\w\n"; #Title usage
PS1+="\[${user}\]\u"; #user color
PS1+="\[${at}\]@"; #@
PS1+="\[${txt}\]\h"; #host color
PS1+="\[${arrow}\] ->"; #Arrow color
PS1+="\[${dir}\] \W\n"; #Location color
PS1+="\[${arr_com}\]>=>\[${reset}\] "; #Command color
export PS1;
#######################___ALIASS___################################
alias ll="ls -l";
alias la="ls -a";
alias lla="ls -al";
alias rr="source ~/.bashrc; ls -l";
alias cls="clear";
alias t="tree";
alias install="sudo apt-get -y install";
alias remove="sudo apt-get -y remove";
alias update="sudo apt-get -y update";
alias upgrade="sudo apt-get -y upgrade";
alias g="git";
alias g.="git add .";
alias ga="git add";
alias gc="git commit";
alias gcm="git commit -m";
alias gb="git branch";
alias gd="git diff";
alias gi="git init";
alias gm="git merge";
alias gmma="git merge origin/master";
alias gpu="git push";
alias gpl="git pull";
alias gl="git log";
alias glo="git log --oneline";
#######################___END_ALIASS___############################
# Bash completion.
if ! shopt -oq posix; then
if [ -f /usr/share/bash-completion/bash_completion ]; then
source /usr/share/bash-completion/bash_completion
elif [ -f /etc/bash_completion ]; then
source /etc/bash_completion
fi
fi
if [ -n "$force_color_prompt" ]; then
if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then
# We have color support; assume it's compliant with Ecma-48
# (ISO/IEC-6429). (Lack of such support is extremely rare, and such
# a case would tend to support setf rather than setaf.)
color_prompt=yes
else
color_prompt=
fi
fi
if [ -x /usr/bin/dircolors ]; then
#test -r $LS_COLORS && eval "$(dircolors -b $LS_COLORS)" || eval "$(dircolors -b)"
alias ls='ls --color=auto'
alias dir='dir --color=auto'
alias vdir='vdir --color=auto'
alias grep='grep --color=auto'
alias fgrep='fgrep --color=auto'
alias egrep='egrep --color=auto'
fi
[/]
animate-app-switch=false
animate-appicon-hover=false
animate-appicon-hover-animation-convexity={'RIPPLE': 2.0, 'PLANK': 1.0, 'SIMPLE': 0.0}
animate-appicon-hover-animation-duration={'SIMPLE': uint32 160, 'RIPPLE': 130, 'PLANK': 100}
animate-appicon-hover-animation-extent={'RIPPLE': 4, 'PLANK': 4, 'SIMPLE': 1}
animate-appicon-hover-animation-type='SIMPLE'
animate-appicon-hover-animation-zoom={'SIMPLE': 1.0, 'RIPPLE': 1.25, 'PLANK': 1.5700000000000001}
animate-window-launch=false
appicon-margin=4
appicon-padding=10
available-monitors=[0]
dot-color-dominant=false
dot-color-override=false
dot-position='BOTTOM'
dot-style-unfocused='DASHES'
focus-highlight-dominant=false
group-apps=true
hide-overview-on-startup=true
hotkeys-overlay-combo='TEMPORARILY'
intellihide=false
isolate-monitors=false
isolate-workspaces=false
leftbox-padding=-1
middle-click-action='LAUNCH'
overview-click-to-exit=true
panel-anchors='{"0":"MIDDLE"}'
panel-element-positions='{"0":[{"element":"showAppsButton","visible":false,"position":"stackedTL"},{"element":"activitiesButton","visible":false,"position":"stackedTL"},{"element":"leftBox","visible":true,"position":"stackedTL"},{"element":"taskbar","visible":true,"position":"stackedTL"},{"element":"centerBox","visible":true,"position":"stackedBR"},{"element":"rightBox","visible":true,"position":"stackedBR"},{"element":"systemMenu","visible":true,"position":"stackedBR"},{"element":"dateMenu","visible":true,"position":"stackedBR"},{"element":"desktopButton","visible":true,"position":"stackedBR"}]}'
panel-element-positions-monitors-sync=true
panel-lengths='{"0":100}'
panel-positions='{"0":"BOTTOM"}'
panel-sizes='{"0":48}'
primary-monitor=0
progress-show-count=true
shift-click-action='MINIMIZE'
shift-middle-click-action='LAUNCH'
show-appmenu=false
show-favorites-all-monitors=false
show-showdesktop-hover=true
show-tooltip=false
show-window-previews=true
status-icon-padding=-1
stockgs-keep-dash=false
stockgs-keep-top-panel=false
stockgs-panelbtn-click-only=false
trans-use-custom-bg=false
trans-use-custom-opacity=false
tray-padding=-1
window-preview-title-position='TOP'
[General]
contrastOpacity=188
copyOnDoubleClick=true
copyPathAfterSave=true
disabledTrayIcon=false
drawColor=#ff0000
saveAfterCopy=true
saveAsFileExtension=png
savePath=/home/www/Desktop
uiColor=#dd170c
uploadWithoutConfirmation=true
useJpgForClipboard=false
{
"641e5e70-7d27-4c6a-80ca-82998abe0bcb": {
"id": "641e5e70-7d27-4c6a-80ca-82998abe0bcb",
"name": "Google Search",
"keyword": "g?",
"cmd": "https://google.com/search?q=%s",
"icon": "/usr/share/ulauncher/media/google-search-icon.png",
"is_default_search": true,
"run_without_argument": false,
"added": 1655590501.8905509
},
"0253aeb4-3507-44ef-9f3e-2af625e18138": {
"id": "0253aeb4-3507-44ef-9f3e-2af625e18138",
"name": "Stack Overflow",
"keyword": "so?",
"cmd": "https://stackoverflow.com/search?q=%s",
"icon": "/usr/share/ulauncher/media/stackoverflow-icon.svg",
"is_default_search": false,
"run_without_argument": false,
"added": 1655590501.8906376
},
"493d8af0-56aa-438f-aab8-6f53ded065e9": {
"id": "493d8af0-56aa-438f-aab8-6f53ded065e9",
"name": "Wikipedia",
"keyword": "wiki?",
"cmd": "https://en.wikipedia.org/wiki/%s",
"icon": "/usr/share/ulauncher/media/wikipedia-icon.png",
"is_default_search": false,
"run_without_argument": false,
"added": 1655590501.8907032
},
"e0ca9aa3-25fd-4e65-921d-e9c02f719881": {
"id": "e0ca9aa3-25fd-4e65-921d-e9c02f719881",
"name": "Youtube",
"keyword": "yt?",
"cmd": "https://www.youtube.com/results?search_query=%s",
"icon": null,
"is_default_search": false,
"run_without_argument": false,
"added": 1655590560.2430966
},
"dc2ae3a2-8956-42f6-8d1d-f3b10d597ae9": {
"id": "dc2ae3a2-8956-42f6-8d1d-f3b10d597ae9",
"name": "GitHub Profile",
"keyword": "?ghp",
"cmd": "https://github.com/AlanD20",
"icon": null,
"is_default_search": false,
"run_without_argument": true,
"added": 1655593552.5778213
},
"5b9b716b-83ea-436f-be6b-caaf1169c188": {
"id": "5b9b716b-83ea-436f-be6b-caaf1169c188",
"name": "GitHub Repository",
"keyword": "?ghr",
"cmd": "https://github.com/AlanD20?tab=repositories",
"icon": null,
"is_default_search": false,
"run_without_argument": true,
"added": 1655593586.032102
},
"d09b70de-5090-4d92-b581-6ee148ce11b1": {
"id": "d09b70de-5090-4d92-b581-6ee148ce11b1",
"name": "Youtube Home",
"keyword": "?yth",
"cmd": "https://youtube.com",
"icon": null,
"is_default_search": true,
"run_without_argument": true,
"added": 1655598008.727205
},
"987803d4-aae9-435e-895f-5f2feff73996": {
"id": "987803d4-aae9-435e-895f-5f2feff73996",
"name": "Twitch",
"keyword": "?twitch",
"cmd": "https://twitch.tv",
"icon": null,
"is_default_search": true,
"run_without_argument": true,
"added": 1655598033.4921598
},
"19f63b92-4845-4aa0-85fe-0eba80adf870": {
"id": "19f63b92-4845-4aa0-85fe-0eba80adf870",
"name": "Twitter",
"keyword": "?twitter",
"cmd": "https://twitter.com",
"icon": null,
"is_default_search": true,
"run_without_argument": true,
"added": 1655598070.8705053
},
"39acc169-6923-4474-b8d4-5cecc23f0216": {
"id": "39acc169-6923-4474-b8d4-5cecc23f0216",
"name": "Localhost:3000",
"keyword": "local:3000",
"cmd": "http://127.0.0.1:3000",
"icon": null,
"is_default_search": false,
"run_without_argument": true,
"added": 1655664003.40669
},
"50666e49-ee82-4074-aaf6-2afd6d472848": {
"id": "50666e49-ee82-4074-aaf6-2afd6d472848",
"name": "Localhost 8000",
"keyword": "local:8000",
"cmd": "http://127.0.0.1:3000",
"icon": null,
"is_default_search": false,
"run_without_argument": true,
"added": 1655664024.0585217
},
"daaf0d33-914b-419b-a7d0-c4165b137082": {
"id": "daaf0d33-914b-419b-a7d0-c4165b137082",
"name": "Localhost 80",
"keyword": "localhost",
"cmd": "http://127.0.0.1",
"icon": null,
"is_default_search": false,
"run_without_argument": true,
"added": 1655664042.2192328
},
"e5304332-524b-4fb1-9a3e-ad77215136bc": {
"id": "e5304332-524b-4fb1-9a3e-ad77215136bc",
"name": "Localhost pgadmin4",
"keyword": "local:pgadmin4",
"cmd": "http://127.0.0.1/pgadmin4/browser",
"icon": null,
"is_default_search": false,
"run_without_argument": true,
"added": 1655664071.3647587
}
}
{
"com.github.lighttigerxiv.ulauncher-terminal-runner-extension": {
"id": "com.github.lighttigerxiv.ulauncher-terminal-runner-extension",
"url": "https://github.com/lighttigerXIV/ulauncher-terminal-runner-extension/",
"updated_at": "2022-06-19T00:32:32.297513",
"last_commit": "8cbcf85e8b3a48a45d2d181488af6e5d89bff1b0",
"last_commit_time": "2022-05-22T12:33:25"
},
"com.github.eckhoff42.ulauncher-kill-process-on-click": {
"id": "com.github.eckhoff42.ulauncher-kill-process-on-click",
"url": "https://github.com/Eckhoff42/Ulauncher-Kill-process-on-click",
"updated_at": "2022-06-19T00:41:18.171184",
"last_commit": "1cc49319d1a8811a2db63b6111effbb5ba087494",
"last_commit_time": "2022-05-05T09:03:54"
},
"com.github.melianmiko.ulauncher-nmcli": {
"id": "com.github.melianmiko.ulauncher-nmcli",
"url": "https://github.com/melianmiko/ulauncher-nmcli",
"updated_at": "2022-06-19T00:45:53.923837",
"last_commit": "fe967c947748616df602c9d022fec6d68a6b2cf2",
"last_commit_time": "2022-05-01T12:20:38"
},
"com.github.plibither8.ulauncher-vscode-recent": {
"id": "com.github.plibither8.ulauncher-vscode-recent",
"url": "https://github.com/plibither8/ulauncher-vscode-recent",
"updated_at": "2022-06-19T00:50:49.837826",
"last_commit": "610dc19a6bab76fd9438e1059aba849201a4a4aa",
"last_commit_time": "2022-05-19T11:37:12"
},
"com.github.tchar.ulauncher-albert-calculate-anything": {
"id": "com.github.tchar.ulauncher-albert-calculate-anything",
"url": "https://github.com/tchar/ulauncher-albert-calculate-anything",
"updated_at": "2022-06-19T00:58:34.979087",
"last_commit": "ee0903174c8b87cd1f7c3b6c1acef10702547507",
"last_commit_time": "2021-08-12T06:39:56"
},
"com.github.devkleber.ulauncher-open-link": {
"id": "com.github.devkleber.ulauncher-open-link",
"url": "https://github.com/DevKleber/ulauncher-open-link",
"updated_at": "2022-06-19T01:08:19.594802",
"last_commit": "5cb0d302500a38582e305ade7904420b830e9e60",
"last_commit_time": "2022-05-07T22:35:10"
},
"com.github.brpaz.ulauncher-faker": {
"id": "com.github.brpaz.ulauncher-faker",
"url": "https://github.com/brpaz/ulauncher-faker",
"updated_at": "2022-06-19T01:18:36.002064",
"last_commit": "58832c94acc671a9f603ea7fbf5d4405110bb902",
"last_commit_time": "2021-12-12T15:46:10"
},
"com.github.fsevenm.ulauncher-uuid": {
"id": "com.github.fsevenm.ulauncher-uuid",
"url": "https://github.com/fsevenm/ulauncher-uuid",
"updated_at": "2022-06-19T01:26:47.669722",
"last_commit": "2fbb70fd2af246277b2baff03465bc8bd971c85f",
"last_commit_time": "2021-01-14T04:26:08"
},
"com.github.kleber-swf.ulauncher-turn-off-screen": {
"id": "com.github.kleber-swf.ulauncher-turn-off-screen",
"url": "https://github.com/kleber-swf/ulauncher-turn-off-screen",
"updated_at": "2022-06-19T01:33:47.241714",
"last_commit": "a461b89706008fcb5605b6e800fec29308b70a04",
"last_commit_time": "2020-11-18T20:05:35"
},
"com.github.sergius02.ulauncher-colorconverter": {
"id": "com.github.sergius02.ulauncher-colorconverter",
"url": "https://github.com/sergius02/ulauncher-colorconverter",
"updated_at": "2022-06-19T01:35:58.463427",
"last_commit": "2d5e2bc17e89f1f1dc561f73e68ea574e0be844a",
"last_commit_time": "2020-12-06T20:59:43"
},
"com.github.pwnyprod.ulauncher-ipcopy": {
"id": "com.github.pwnyprod.ulauncher-ipcopy",
"url": "https://github.com/pwnyprod/ulauncher-ipcopy",
"updated_at": "2022-06-19T01:45:35.643218",
"last_commit": "7d5b328cad58dfda8ea613803f66bffa3c62b57f",
"last_commit_time": "2021-12-07T08:51:15"
},
"com.github.glovecc.ulauncher-github-search": {
"id": "com.github.glovecc.ulauncher-github-search",
"url": "https://github.com/Glovecc/ulauncher-github-search",
"updated_at": "2022-06-19T01:45:54.778138",
"last_commit": "ee3ea43e905cf184449c328f0dadaa4395f3ec0c",
"last_commit_time": "2022-01-14T13:46:35"
},
"com.github.ckrybus.ulauncher-journal": {
"id": "com.github.ckrybus.ulauncher-journal",
"url": "https://github.com/ckrybus/ulauncher-journal",
"updated_at": "2022-06-19T01:51:45.279238",
"last_commit": "c3fc03c6568bbba30ebef47a6f8d7321c3c9cdbb",
"last_commit_time": "2020-05-17T18:23:23"
},
"com.github.iboyperson.ulauncher-system": {
"id": "com.github.iboyperson.ulauncher-system",
"url": "https://github.com/iboyperson/ulauncher-system",
"updated_at": "2022-06-19T01:57:33.306113",
"last_commit": "667613bf7bb6b4affa4f2121b58589477cd89829",
"last_commit_time": "2021-11-08T18:16:55"
},
"com.github.fisadev.ulauncher-better-file-browser": {
"id": "com.github.fisadev.ulauncher-better-file-browser",
"url": "https://github.com/fisadev/ulauncher-better-file-browser",
"updated_at": "2022-06-19T01:58:14.477019",
"last_commit": "8ec8a0dda09e172de62051cd1f251816ce4af368",
"last_commit_time": "2019-09-06T19:20:09"
},
"com.github.brpaz.ulauncher-docker": {
"id": "com.github.brpaz.ulauncher-docker",
"url": "https://github.com/brpaz/ulauncher-docker",
"updated_at": "2022-06-19T02:02:12.635815",
"last_commit": "fdd7f05aa259d9bbe7bab218e9c66068edd1c46e",
"last_commit_time": "2022-06-14T10:49:26"
},
"com.github.brpaz.ulauncher-repl": {
"id": "com.github.brpaz.ulauncher-repl",
"url": "https://github.com/brpaz/ulauncher-repl",
"updated_at": "2022-06-19T02:11:49.213476",
"last_commit": "c21ea58032b9299a15fa06115e4c3555f220c78c",
"last_commit_time": "2021-12-12T15:48:16"
},
"com.github.brpaz.ulauncher-timestamp": {
"id": "com.github.brpaz.ulauncher-timestamp",
"url": "https://github.com/brpaz/ulauncher-timestamp",
"updated_at": "2022-06-19T02:13:36.546325",
"last_commit": "e366a81f92b8130dddc0b1bddecad253124c49b9",
"last_commit_time": "2021-12-12T15:49:08"
},
"com.github.isacikgoz.ukill": {
"id": "com.github.isacikgoz.ukill",
"url": "https://github.com/isacikgoz/ukill",
"updated_at": "2022-06-19T02:14:20.720809",
"last_commit": "bc50d9f41d46b6813a5aeebddd15734dcdb9d8db",
"last_commit_time": "2019-05-28T18:30:00"
}
}
{
"blacklisted-desktop-dirs": "/usr/share/locale:/usr/share/app-install:/usr/share/kservices5:/usr/share/fk5:/usr/share/kservicetypes5:/usr/share/applications/screensavers:/usr/share/kde4:/usr/share/mimelnk",
"clear-previous-query": true,
"disable-desktop-filters": false,
"grab-mouse-pointer": false,
"hotkey-show-app": "<Primary><Shift>space",
"render-on-screen": "mouse-pointer-monitor",
"show-indicator-icon": true,
"show-recent-apps": "8",
"terminal-command": "",
"theme-name": "gruvbox"
}
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
# Initialization code that may require console input (password prompts, [y/n]
# confirmations, etc.) must go above this block; everything else may go below.
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
fi
# If you come from bash you might have to change your $PATH.
export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH="$HOME/.oh-my-zsh"
# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
ZSH_THEME="powerlevel10k/powerlevel10k"
# Set list of themes to pick from when loading at random
# Setting this variable when ZSH_THEME=random will cause zsh to load
# a theme from this variable instead of looking in $ZSH/themes/
# If set to an empty array, this variable will have no effect.
# ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" )
# Uncomment the following line to use case-sensitive completion.
# CASE_SENSITIVE="true"
# Uncomment the following line to use hyphen-insensitive completion.
# Case-sensitive completion must be off. _ and - will be interchangeable.
# HYPHEN_INSENSITIVE="true"
# Uncomment one of the following lines to change the auto-update behavior
# zstyle ':omz:update' mode disabled # disable automatic updates
# zstyle ':omz:update' mode auto # update automatically without asking
# zstyle ':omz:update' mode reminder # just remind me to update when it's time
# Uncomment the following line to change how often to auto-update (in days).
# zstyle ':omz:update' frequency 13
# Uncomment the following line if pasting URLs and other text is messed up.
# DISABLE_MAGIC_FUNCTIONS="true"
# Uncomment the following line to disable colors in ls.
# DISABLE_LS_COLORS="true"
# Uncomment the following line to disable auto-setting terminal title.
# DISABLE_AUTO_TITLE="true"
# Uncomment the following line to enable command auto-correction.
# ENABLE_CORRECTION="true"
# Uncomment the following line to display red dots whilst waiting for completion.
# You can also set it to another string to have that shown instead of the default red dots.
# e.g. COMPLETION_WAITING_DOTS="%F{yellow}waiting...%f"
# Caution: this setting can cause issues with multiline prompts in zsh < 5.7.1 (see #5765)
# COMPLETION_WAITING_DOTS="true"
# Uncomment the following line if you want to disable marking untracked files
# under VCS as dirty. This makes repository status check for large repositories
# much, much faster.
# DISABLE_UNTRACKED_FILES_DIRTY="true"
# Uncomment the following line if you want to change the command execution time
# stamp shown in the history command output.
# You can set one of the optional three formats:
# "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
# or set a custom format using the strftime function format specifications,
# see 'man strftime' for details.
# HIST_STAMPS="mm/dd/yyyy"
# Would you like to use another custom folder than $ZSH/custom?
# ZSH_CUSTOM=/path/to/new-custom-folder
# Which plugins would you like to load?
# Standard plugins can be found in $ZSH/plugins/
# Custom plugins may be added to $ZSH_CUSTOM/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
plugins=(git web-search docker command-not-found fancy-ctrl-z history npm yarn)
ZSH_WEB_SEARCH_ENGINES=(yt "https://www.youtube.com/results?search_query=")
ZSH_WEB_SEARCH_ENGINES=(yth "https://www.youtube.com/")
source $ZSH/oh-my-zsh.sh
# User configuration
export MANPATH="/usr/local/man:$MANPATH"
# You may need to manually set your language environment
export LANG=en_US.UTF-8
# Preferred editor for local and remote sessions
# if [[ -n $SSH_CONNECTION ]]; then
# export EDITOR='vim'
# else
# export EDITOR='mvim'
# fi
# Compilation flags
# export ARCHFLAGS="-arch x86_64"
#######################___ALIASS___################################
# Set personal aliases, overriding those provided by oh-my-zsh libs,
# plugins, and themes. Aliases can be placed here, though oh-my-zsh
# users are encouraged to define aliases within the ZSH_CUSTOM folder.
# For a full list of active aliases, run `alias`.
#
# Example aliases
# alias zshconfig="mate ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh"
# WINHOME=$(wslpath "$(wslvar USERPROFILE)")
# WSL Aliases
# alias desktop="${WINHOME}/Desktop";
alias ll="ls -l";
alias la="ls -a";
alias lla="ls -al";
alias rr="source ~/.bashrc; ls -l";
alias cls="clear";
alias t="tree";
alias install="sudo apt-get -y install";
alias remove="sudo apt-get -y remove";
alias update="sudo apt-get -y update";
alias upgrade="sudo apt-get -y upgrade";
#######################___END_ALIASS___############################
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
# Load nvm
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment