Skip to content

My linux Environment setup (programs, configuration and settings)

Notifications You must be signed in to change notification settings

AhmedMohamedAbdelaty/Linux-Setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 

Repository files navigation

Linux-Setup

My Linux Environment setup (apps, settings and optimizations)


Table of Contents

  • My Terminal Setup (Zsh, Oh my Zsh, Powerlevel10k and Kitty)
  • VS Code
  • Linux Distribution configuration
  • Linux Themes
  • Useful Apps

My Terminal Setup

This tutorial provides a comprehensive guide on how to install and configure Zsh, Oh my Zsh, and Powerlevel10k with automatic suggestions, syntax highlighting, and auto-completion.

By following the step-by-step instructions, you will be able to create a personalized and efficient terminal environment for your development work.

Screen

  • install ZSH :

    sudo apt install zsh-autosuggestions zsh-syntax-highlighting zsh
  • Install Oh My Zsh :

    sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
  • Install plugins

    • autosuggesions plugin

      git clone https://github.com/zsh-users/zsh-autosuggestions.git $ZSH_CUSTOM/plugins/zsh-autosuggestions
    • zsh-syntax-highlighting plugin

      git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH_CUSTOM/plugins/zsh-syntax-highlighting
    • zsh-fast-syntax-highlighting plugin

      git clone https://github.com/zdharma-continuum/fast-syntax-highlighting.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/plugins/fast-syntax-highlighting
    • zsh-autocomplete plugin

      git clone --depth 1 -- https://github.com/marlonrichert/zsh-autocomplete.git $ZSH_CUSTOM/plugins/zsh-autocomplete
  • Enable plugins by adding them to .zshrc.

    • Open .zshrc using gedit (change it as you want)

      sudo gedit ~/.zshrc
    • Find the line which says plugins=(git).

    • Replace that line with plugins=(git zsh-autosuggestions zsh-syntax-highlighting fast-syntax-highlighting zsh-autocomplete)

    • first install the fonts : Download these four ttf files (you have to change the font of the terminal to MesloLGS NF) :

    • 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
    • Now, edit the ZSH_THEME in ~/.zshrc file into :

      • in terminal :

        sudo gedit ~/.zshrc
      • edit the theme to be like this ZSH_THEME="powerlevel10k/powerlevel10k"

  • Configure powerlevel10k

    • open new terminal and type p10k configure
    • configure it as you want
  • Make ZSH the Default Shell

    • open terminal and type :

      chsh -s $(which zsh)
    • logout and login again


Kitty Terminal

The theme credits goes to lactua. You can download the config from here

  • First install kitty terminal
  • Install Fira Code Font
  • Finally install the theme by running install.sh script.
    • Make sure you are in the same directory as the script.
    • Make the script executable by running
      • chmod +x install.sh
    • Run the script
      • ./install.sh

Kitty Keybindings

Shortcut Action
ctrl+shift+c copy_to_clipboard
ctrl+shift+v paste_from_clipboard
ctrl+shift+enter new_window
ctrl+shift+w close_window
ctrl+tab next_window
ctrl+shift+tab previous_window
ctrl+shift+r start_resizing_window
ctrl+shift+right next_tab
ctrl+shift+left previous_tab
ctrl+shift+t new_tab
ctrl+shift+q close_tab
ctrl+shift+up move_tab_forward
ctrl+shift+down move_tab_backward
ctrl+shift+n set_tab_title
ctrl+shift+l next_layout
ctrl+shift+kp_add change_font_size all +2.0
ctrl+shift+kp_subtract change_font_size all -2.0
ctrl+shift+backspace change_font_size all 0
ctrl+shift+f5 load_config_file

About

My linux Environment setup (programs, configuration and settings)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published