我正在尝试创建一个别名,将google chrome打开到localhost.在这种情况下,端口80.
我也非常希望能够进入任何git目录并让它在浏览器中打开该特定项目,但我不确定这是否可行.
更多细节:
谢谢
我使用 bash_completion 来点击选项卡并查看分支名称和目录。这一切都有效。我将其放入我的 bash_profile 中以便连接 bash_completion:
if [ -f `brew --prefix`/etc/bash_completion ]; then
. `brew --prefix`/etc/bash_completion
fi
Run Code Online (Sandbox Code Playgroud)
当我现在启动终端时,我得到:
-bash: @MyNameHERE: command not found
Run Code Online (Sandbox Code Playgroud)
如果我从 bash_profile 中删除第一个片段,这个问题就会消失,但 bash_completion 将不起作用。有什么想法吗?
酿造医生结果:
Please note that these warnings are just used to help the Homebrew maintainers with debugging if you file an issue. If everything you use Homebrew for is working fine: please don't worry and just ignore them. Thanks!
Warning: Unbrewed header files were found in /usr/local/include.
If you didn't put them there …Run Code Online (Sandbox Code Playgroud) 我想创建一个mixin,允许即时调整百分比。我有点绊倒了,会喜欢一些指针。
这是我要实现的目标:
@keyframes slide-1 {
0% {transform: translate3d(0, 0, 0);}
50% { }
100% {transform: translate3d(-100%, 0, 0);}
}
@keyframes slide-2 {
0% {transform: translate3d(0, 0, 0);}
50% { }
100% {transform: translate3d(-200%, 0, 0);}
}
Run Code Online (Sandbox Code Playgroud)
Mixin将接受一个百分比参数-我假设动画名称是?就像是:
@keyframes $animation-name {
0% {transform: translate3d(0, 0, 0);}
50% { }
100% {transform: translate3d($percentage, 0, 0);}
}
Run Code Online (Sandbox Code Playgroud)