当前位置:网站首页>Cygwin cooperates with listary to switch the current directory and quickly open it
Cygwin cooperates with listary to switch the current directory and quickly open it
2022-07-19 06:37:00 【Woodland ningning】
The first change Cygwin Of Cygwin.bat
Script :
@echo off
setlocal enableextensions
set TERM=
set _T=%*
cd /d "%~dp0bin"
.\bash --login -i
This step mainly introduces “ Current folder ” Put the directory path of into the environment variable _T
in , And then modify it ~/.bash_profile
, Let us enter terminal When , The current directory has been switched :
export _T=${_T//\\//} # take / Replace with \
if [ "$_T" == "" ]; then
export _T=${HOME}
fi
cd "$_T"
Then set the Listary Parameters , by {current_folder}
, Indicates the incoming current folder path :
I haven't had time to write recently , Let's set up a configuration first .
In this way, you can double-click , Then open it under the current folder Cygwin 了 , Save every time cd The order of .
For the first time , You can also change the registry , Then you can directly open it under the current folder through the right-click menu cygwin Terminal .
Details visible hold cygwin Add context menu One article .
边栏推荐
- Solutions to slow transmission speed of FileZilla virtual machine
- 实验二 类与对象定义初始化
- Es aggregation analysis reports an error: "reason": "text fields are not optimized for operations
- [force buckle] the same tree
- Busybox date date increases by one day, and decreases by one day on the Internet tomorrow
- 实验四 运算符重载和虚函数
- UDP message structure
- 【力扣】用栈实现队列
- [force buckle] copy the linked list with random pointer
- DSL implements bucket aggregation
猜你喜欢
Perceive the attention status of users on smart phones
Using VOR depth estimation to solve the problem of target ambiguity in three-dimensional gaze interaction
Open source online markdown editor -- [editor.md]
你的企业最适合哪种深度学习?
[force buckle] bracket matching
人脸识别错误
Daily eye contact detection uses unsupervised gaze target detection
吴恩达机器学习第6-7章
【力扣】对称二叉树
视图、索引文件的应用
随机推荐
Markdown语法和常用快捷键
面试复习第N次
[antdv: Each record in table should have a unique `key` prop,or set `rowKey` to an unique.....
[force buckle] maximum depth of binary tree
数据库的查询(二)
LeetCode字符串
三维凝视估计,没有明确的个人校准2018
Knapsack with dependency, narrow sense (binary enumeration), broad sense (tree DP)
Daily eye contact detection uses unsupervised gaze target detection
实验三 继承性和派生类
Attention prediction in self video based on motion and visual prominence
Some basic concepts in network
Learning video saliency from human gaze using candidate selection
Vscode one dark and C extended variable color conflict settings JSON is as follows
Key points of embedded C language (const, static, volatile, bit operation)
Perception de l’état d’attention des utilisateurs sur les smartphones
单表查询、添加、更新与删除数据
Addition and subtraction of busybox date time
CUDA与大数组的双调排序
感知智能手機上用戶的關注狀態