Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

add user to sudoer "zsh" same powerlevel10k customization for root

sudo chsh -s $(which zsh) root



sudo ln -s $HOME/.p10k.zsh /root/.p10k.zsh

sudo ln -s $HOME/.bashrc /root/.bashrc
sudo ln -s $HOME/.zshrc /root/.zshrc
sudo ln -s $HOME/.oh-my-zsh /root/.oh-my-zsh
sudo ln -s $HOME/powerlevel10k /root/powerlevel10k



sudo chmod 744 /root/.p10k.zsh
sudo chmod 744 /root/.bashrc
sudo chmod 744 /root/.zshrc
sudo chmod 744 /root/.oh-my-zsh
sudo chmod 744 /root/powerlevel10k



sudo rm /root/.zsh_history & ln -s $HOME/.zsh_history /root/.zsh_history



sudo -i
Comment

add user to sudoer "zsh" same powerlevel10k customization for root

sudo chsh -s $(which zsh) root

sudo ln -s $HOME/.p10k.zsh /root/.p10k.zsh
sudo ln -s $HOME/.bashrc /root/.bashrc
sudo ln -s $HOME/.zshrc /root/.zshrc
sudo ln -s $HOME/.oh-my-zsh /root/.oh-my-zsh
sudo ln -s $HOME/powerlevel10k /root/powerlevel10k

sudo chmod 744 /root/.p10k.zsh
sudo chmod 744 /root/.bashrc
sudo chmod 744 /root/.zshrc
sudo chmod 744 /root/.oh-my-zsh
sudo chmod 744 /root/powerlevel10k
sudo chmod 744 /root/.zsh_history

sudo rm /root/.zsh_history & ln -s $HOME/.zsh_history /root/.zsh_history

sudo -i

#the command above will help you get the same zsh/bash customization from your current user switches to root (sudo -i)
Comment

PREVIOUS NEXT
Code Example
Shell :: vim substitution 
Shell :: linux logrotate output of command 
Shell :: wsl networking 
Shell :: //how to remove all file/dir already commited from git before pushing 
Shell :: figma edge 
Shell :: html5 parser 
Shell :: boot manager linux install code 
Shell :: ssh to gcp vm 
Shell :: uniq only print unique lines 
Shell :: powershell show doskey 
Shell :: sns.lineplot 
Shell :: how to map my ctrl key to CAPS key in vim linux 
Shell :: Unknown lifecycle phase ".surefire.debug". 
Shell :: instsall typo3 
Shell :: grep belirli bir dosyada arama yapmak 
Shell :: http://ppa.launchpad.net/rabbitmq/rabbitmq-erlang/ubuntu focal main 
Shell :: laravel sail 
Shell :: haproxy user ulimit 
Shell :: remove outdated branches git 
Shell :: po to mo ubuntu 
Shell :: select all folder except one in command line 
Shell :: azure cli create web app 
Shell :: untar in specific folder 
Shell :: how to install newrelic agent on aws linux 
Shell :: xrandr non cambia la luminosità 
Shell :: was pasiert bei git merge 
Shell :: append filename at the beggining linux 
Shell :: pip install CaImAn 
Shell :: run mongo docker image on ubuntu 20 
Shell :: readme generator homework 
ADD CONTENT
Topic
Content
Source link
Name
8+2 =