Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to configure ubuntu efficient Development Environment

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

This article mainly explains "how to configure ubuntu efficient development environment". The content of the article is simple and clear, and it is easy to learn and understand. Please follow the editor's ideas to study and learn "how to configure ubuntu efficient development environment".

§0x01 bash alias

1. Use the commonly used alias to improve efficiency.

§0x02 Custom sshrc

1, customized PS1, you can display information related to the remote host; 2, display the current host time and other information.

§0x03 sshfs mounts the remote host directory

It can be easily modified locally and debugged on a remote host. Sshfs root@ip:/root local

§skills related to 0x04 tmux

Save the commonly used windows in .sh, and quickly restore the development window after power on.

Prefix+ Ctrl-x, which can operate multiple Panel simultaneously

§0x05 wd tool, record several commonly used directories $wd list * All warp points: dev-> / mnt/data/dev go-lean-> ~ / code/go/src/lean §0x06 terminal

Setting the window transparency can avoid opening multiple windows and see the information of the background window.

Oh-my-zsh for installation

Enable vi-mode

§0x07 fzf efficient search §0x08 installation docker local simulation most development environments §0x09 record and use commonly used keyboard shortcuts Notes Win+1/2/3 toggles the active window displayed on the dock

§0x0A write commonly used git command scripts

Delete the branch of the specified index as follows. The corresponding index can be added with the sequence number via git branch | nl.

#! / bin/bashindex=$1progname=$ (basename ${BASH_SOURCE [0]}) if [x$index = = "x"] then echo "Usage: $progname index (get from glist)" exit 1fifunction get_branch_by_index () {git branch | nl | egrep "\ s +" | awk'{print $NF}'} function inqury () {read-r-p "Are You Sure? "input case $input in [yY] [eE] [sS] | [yY]) echo" Yes ";; [nN] [oO] | [nN]) echo" No "exit 1 *) echo "Invalid input..." Exit 1;; esac} br=$ (get_branch_by_index $index) echo "Deleting branch $br" inqurygit branch-D $br thank you for reading, the above is the content of "how to configure ubuntu efficient development environment". After the study of this article, I believe you have a deeper understanding of how to configure an efficient ubuntu development environment, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report